-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows installer #1060
Merged
jdknives
merged 20 commits into
skycoin:develop
from
the-skycoin-project:windows-installer
Jan 31, 2022
Merged
Windows installer #1060
Changes from 19 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
17cc053
Add files via upload
0pcom 1b8b28b
configure and launch skywire via batch file.
0pcom 3f10152
fixed executables not in path
0pcom b9aa36c
add double quotes to paths
mrpalide 8d55f04
Merge branch 'develop' into windows-installer
mrpalide 9706901
remove useless function GetAvailPublicVPNServers
mrpalide b6179ab
add script.ps1 and Makefile command win-installer
mrpalide f713fa7
update skywire.bat | set --os and --disable-apps flags
mrpalide f4aed5b
update gitignore
mrpalide 98ed00f
Update README.md
mrpalide 2a1e484
update README.md
mrpalide 8102d98
make skywire.bat run as administrator
mrpalide dc6464b
update README.md
mrpalide cf9a6c7
Capitalized skywire to Skywire in start menu shortcut
mrpalide 3543d56
make format
mrpalide b31af8d
disable license for installation process
mrpalide 6e37bc3
set -b flag
mrpalide 520c828
Merge branch 'develop' into windows-installer
mrpalide 09a62c8
make skywire.bat clear
mrpalide e264ec5
revert deleted function
mrpalide File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,3 +55,4 @@ Char | |
*.dmg | ||
/scripts/mac_installer/icon.iconset/ | ||
releaseChangelog.md | ||
skywire.msi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
## Windows installer | ||
|
||
### Requirments | ||
- windows machine | ||
- Install **chocolatey** by its instruction [here](https://chocolatey.org/install). | ||
- Install **GNU Make** by choco | ||
``` | ||
choco install make | ||
``` | ||
- Install **go-msi** by choco | ||
``` | ||
choco install go-msi | ||
``` | ||
- Download and Install **Wix** from [here](https://github.com/wixtoolset/wix3/releases/tag/wix3112rtm). | ||
- Need to add `C:\Program Files (x86)\WiX Toolset v3.11\bin` to path. | ||
- We need to install **.Net Framework 3.5 SP1**, you can download and install from [here](https://dotnet.microsoft.com/en-us/download/dotnet-framework/thank-you/net35-sp1-web-installer). | ||
|
||
### Build | ||
You can build **skywire.msi** by | ||
``` | ||
make win-installer | ||
``` | ||
|
||
### Install | ||
Double click the created installer to install skywire. | ||
|
||
### Run | ||
To run skywire open a terminal or cmd window and run | ||
``` | ||
skywire | ||
``` | ||
or open `skywire` shortcut on start menu. |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
echo "Building Systray Windows Binaries..." | ||
if (Test-Path ".\skywire.msi") { Remove-Item ".\skywire.msi" -Recurse -Force} | ||
make build-systray-windows > $null | ||
echo "Build Complete!" | ||
echo "Setting go-msi configuration..." | ||
cd .\scripts\win_installer | ||
if (Test-Path ".\build") { Remove-Item ".\build" -Recurse -Force} | ||
mkdir -p ".\build\amd64\apps" > $null | ||
mv ..\..\skywire-visor.exe .\build\amd64\skywire-visor.exe | ||
mv ..\..\skywire-cli.exe .\build\amd64\skywire-cli.exe | ||
mv ..\..\apps\vpn-client .\build\amd64\apps\vpn-client.exe | ||
rm ..\..\setup-node.exe | ||
rm -r -fo ..\..\apps | ||
cp skywire.bat .\build\amd64\skywire.bat | ||
echo "Configuration complete!" | ||
echo "Building msi..." | ||
go-msi make --msi skywire.msi --version 0.5.1 --arch amd64 | ||
mv skywire.msi ../../skywire.msi | ||
Remove-Item ".\build" -Recurse -Force | ||
cd ../../ | ||
echo "Build Complete!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
@Echo Off | ||
%1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",1)(window.close)&&exit | ||
cd /d "%~dp0" | ||
if not exist "apps\" ( | ||
mkdir apps | ||
move vpn-client.exe apps | ||
) | ||
if not exist "%HOMEPATH%\skywire-config.json" ( | ||
skywire-cli config gen -biro "%HOMEPATH%\skywire-config.json" --os windows --disable-apps skychat,skysocks,skysocks-client,vpn-server | ||
) | ||
start "" http://127.0.0.1:8000 | ||
skywire-visor.exe -c "%HOMEPATH%\skywire-config.json" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"product": "Skywire", | ||
"company": "Skycoin", | ||
"upgrade-code": "", | ||
"files": { | ||
"guid": "", | ||
"items": [ | ||
"build/amd64/skywire-cli.exe", | ||
"build/amd64/skywire-visor.exe", | ||
"build/amd64/apps/vpn-client.exe", | ||
"build/amd64/skywire.bat", | ||
"ico.ico" | ||
] | ||
}, | ||
"env": { | ||
"guid": "", | ||
"vars": [ | ||
{ | ||
"name": "PATH", | ||
"value": "[INSTALLDIR]", | ||
"permanent": "yes", | ||
"system": "yes", | ||
"action": "set", | ||
"part": "last" | ||
} | ||
] | ||
}, | ||
"shortcuts": { | ||
"guid": "", | ||
"items": [ | ||
{ | ||
"name": "Skywire", | ||
"description": "run skywire", | ||
"target": "[INSTALLDIR]\\skywire.bat", | ||
"wdir": "INSTALLDIR", | ||
"icon":"ico.ico" | ||
} | ||
] | ||
}, | ||
"hooks": [ ], | ||
"choco": { | ||
"description": "skywire", | ||
"project-url": "https://github.com/skycoin/skywire", | ||
"tags": "skywire", | ||
"license-url": "" | ||
} | ||
} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was supposed to be used for a quick connect functionality in the Systray application. So you could use the Systray directly without having to open the browser. Can likely be kept and used when we improve the Systray application.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I didn't know about it. So I'll added it back.
Update:
Done. #e264ec5