-
Notifications
You must be signed in to change notification settings - Fork 10
/
00_Download_Script.bat
34 lines (25 loc) · 1.26 KB
/
00_Download_Script.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
@echo off
rem 00_Download_Script.bat
rem http://www.neko.ne.jp/~freewing/software/build_fritzing_100_windows/
rem Copyright (c) 2023 FREE WING,Y.Sakamoto
echo %0
@echo off
cd \
mkdir \00_fritzing
cd /d \00_fritzing
rem https://github.com/FREEWING-JP/CSharp_DownloadFile
rem echo C# DownloadFile from URL
rem bitsadmin /TRANSFER hoge https://github.com/FREEWING-JP/CSharp_DownloadFile/releases/download/v0.0/DownloadFile.exe %cd%\DownloadFile.exe
echo C# DownloadFile source code from URL
bitsadmin /TRANSFER hoge https://raw.githubusercontent.com/FREEWING-JP/CSharp_DownloadFile/main/DownloadFile.cs %cd%\DownloadFile.cs
echo Build DownloadFile.exe
C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc DownloadFile.cs
rem https://github.com/FREEWING-JP/CSharp_UnZip
echo C# UnZip .Net 4.5
if not exist UnZip.exe DownloadFile https://github.com/FREEWING-JP/CSharp_UnZip/releases/download/v0.0/UnZip.exe UnZip.exe
rem https://github.com/FREEWING-JP/Build-Fritzing-1.0.0-Windows-script
echo Build Fritzing 1.0.0 Windows script
if not exist main.zip DownloadFile https://github.com/FREEWING-JP/Build-Fritzing-1.0.0-Windows-script/archive/refs/heads/main.zip main.zip
UnZip.exe main.zip .
move Build-Fritzing-1.0.0-Windows-script-main\*.* .\
rmdir Build-Fritzing-1.0.0-Windows-script-main