Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
riseup_vpn
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
leap
riseup_vpn
Commits
e6a04e5a
You need to sign in or sign up before continuing.
Unverified
Commit
e6a04e5a
authored
6 years ago
by
kali
Committed by
Kali Kaneko
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[pkg] compile and pack helper
parent
8b0ad0c1
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
Makefile
+18
-8
18 additions, 8 deletions
Makefile
README.txt
+28
-22
28 additions, 22 deletions
README.txt
win/template.nsi
+4
-2
4 additions, 2 deletions
win/template.nsi
with
50 additions
and
32 deletions
Makefile
+
18
−
8
View file @
e6a04e5a
SYSTRAY
:=
0xacab.org/leap/bitmask-systray
STAGING
:=
staging
build_osx
:
deps_win
:
echo
"[+] building osx"
choco
install
-y
golang python upx nssm nsis
build_win
:
helper_win
:
go build
-ldflags
"-s -w"
-o
$(
STAGING
)
/bitmask_helper.exe .
\h
elper
upx
$(
STAGING
)
/bitmask_helper.exe
systray_win
:
go get
-u
$(
SYSTRAY
)
go build
-tags
"standalone"
-ldflags
"-H windowsgui -s -w"
-o
$(
STAGING
)
/bitmask-systray.exe
$(
SYSTRAY
)
build_win
:
helper_win
echo
"[+] building windows"
if
not exist dist
mkdir
dist
if
not exist dist
mkdir
dist
make
-C
win
make
-C
win
echo
"[+] building windows"
"C:
\P
rogram Files (x86)
\N
SIS
\m
akensis.exe"
win/RiseupVPN-installer.nsi
"C:
\P
rogram Files (x86)
\N
SIS
\m
akensis.exe"
win/RiseupVPN-installer.nsi
build_osx
:
echo
"[+] building osx"
build_snap
:
build_snap
:
echo
"[+] building snap"
echo
"[+] building snap"
This diff is collapsed.
Click to expand it.
README.txt
+
28
−
22
View file @
e6a04e5a
...
@@ -21,3 +21,9 @@ Dependencies (Windows)
...
@@ -21,3 +21,9 @@ Dependencies (Windows)
* nsis
* nsis
* nssm
* nssm
Building (Windows)
------------------------
make deps_win
make build_win
This diff is collapsed.
Click to expand it.
win/template.nsi
+
4
−
2
View file @
e6a04e5a
!include "MUI.nsh"
!include "MUI.nsh"
Name "$app_name"
Name "$app_name"
RequestExecutionLevel admin
Outfile "..\dist\$app_name-installer.exe"
Outfile "..\dist\$app_name-installer.exe"
;TODO make the installdir configurable - and set it in the registry.
;TODO make the installdir configurable - and set it in the registry.
InstallDir "C:\Program Files\$app_name\"
InstallDir "C:\Program Files\$app_name\"
RequestExecutionLevel admin
!define BITMAP_FILE riseupvpn.bmp
!define BITMAP_FILE riseupvpn.bmp
...
@@ -78,6 +77,9 @@ Section "InstallService"
...
@@ -78,6 +77,9 @@ Section "InstallService"
ExecWait '"$INSTDIR\nssm.exe" set $app_name_lower-helper AppDirectory "$INSTDIR"'
ExecWait '"$INSTDIR\nssm.exe" set $app_name_lower-helper AppDirectory "$INSTDIR"'
ExecWait '"$INSTDIR\nssm.exe" start $app_name_lower-helper'
ExecWait '"$INSTDIR\nssm.exe" start $app_name_lower-helper'
; why are these here?
Delete "C:\$app_name_lower.ico"
Delete "C:\$app_name_lower.png"
SectionEnd
SectionEnd
Section "Uninstall"
Section "Uninstall"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment