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
27803ec1
Verified
Commit
27803ec1
authored
6 years ago
by
meskio
Browse files
Options
Downloads
Patches
Plain Diff
[pkg] use the version string from the systray
parent
ad175ba3
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
Makefile
+4
-4
4 additions, 4 deletions
Makefile
osx/Makefile
+1
-1
1 addition, 1 deletion
osx/Makefile
osx/generate.py
+1
-1
1 addition, 1 deletion
osx/generate.py
version
+0
-1
0 additions, 1 deletion
version
with
6 additions
and
7 deletions
Makefile
+
4
−
4
View file @
27803ec1
SYSTRAY
:=
0xacab.org/leap/bitmask-systray
.git
SYSTRAY
:=
0xacab.org/leap/bitmask-systray
STAGING
:=
staging
STAGING
:=
staging
SYSTRAY_BIN
:=
bitmask-systray
SYSTRAY_BIN
:=
bitmask-systray
HELPER_BIN
:=
bitmask_helper
HELPER_BIN
:=
bitmask_helper
APP_NAME
:=
RiseupVPN
APP_NAME
:=
RiseupVPN
BUILD_RELEASE
?=
no
BUILD_RELEASE
?=
no
OSX_CERT
=
"Developer ID Installer: LEAP Encryption Access Project"
OSX_CERT
=
"Developer ID Installer: LEAP Encryption Access Project"
VERSION
=
$(
shell
cat
version
)
VERSION
=
$(
shell
git
-C
`
go
env
GOPATH
`
/src/
$(
SYSTRAY
)
describe
--tags
)
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
# Windows
# Windows
...
@@ -51,11 +51,11 @@ helper_osx:
...
@@ -51,11 +51,11 @@ helper_osx:
upx
$(
STAGING
)
/
$(
HELPER_BIN
)
upx
$(
STAGING
)
/
$(
HELPER_BIN
)
systray_osx
:
systray_osx
:
go get
-tags
"standalone"
-u
$(
SYSTRAY
)
go get
-tags
"standalone"
-u
$(
SYSTRAY
)
go build
-tags
"standalone"
-o
$(
STAGING
)
/
$(
SYSTRAY_BIN
)
$(
SYSTRAY
)
go build
-tags
"standalone"
-ldflags
"-X main.version=
$(
VERSION
)
"
-o
$(
STAGING
)
/
$(
SYSTRAY_BIN
)
$(
SYSTRAY
)
upx
$(
STAGING
)
/
$(
SYSTRAY_BIN
)
upx
$(
STAGING
)
/
$(
SYSTRAY_BIN
)
bundle_osx
:
bundle_osx
:
mkdir
-p
dist
mkdir
-p
dist
make
-C
osx
make
-C
osx
VERSION
=
$(
VERSION
)
pkg_osx
:
pkg_osx
:
osx/quickpkg
--output
dist/
$(
APP_NAME
)
-
$(
VERSION
)
_unsigned.pkg
--scripts
osx/scripts/ dist/
$(
APP_NAME
)
.app/
osx/quickpkg
--output
dist/
$(
APP_NAME
)
-
$(
VERSION
)
_unsigned.pkg
--scripts
osx/scripts/ dist/
$(
APP_NAME
)
.app/
@
if
[
$(
BUILD_RELEASE
)
=
no
]
;
then
\
@
if
[
$(
BUILD_RELEASE
)
=
no
]
;
then
\
...
...
This diff is collapsed.
Click to expand it.
osx/Makefile
+
1
−
1
View file @
27803ec1
generate
:
generate
:
python ./generate.py
python ./generate.py
$(
VERSION
)
This diff is collapsed.
Click to expand it.
osx/generate.py
+
1
−
1
View file @
27803ec1
...
@@ -30,7 +30,7 @@ TEMPLATE_HELPER = 'template-helper.plist'
...
@@ -30,7 +30,7 @@ TEMPLATE_HELPER = 'template-helper.plist'
TEMPLATE_PREINSTALL
=
'
template-preinstall
'
TEMPLATE_PREINSTALL
=
'
template-preinstall
'
TEMPLATE_POSTINSTALL
=
'
template-postinstall
'
TEMPLATE_POSTINSTALL
=
'
template-postinstall
'
VERSION
=
open
(
os
.
path
.
join
(
here
,
'
..
'
,
'
version
'
)).
read
().
strip
()
VERSION
=
sys
.
argv
[
1
]
APP_PATH
=
os
.
path
.
abspath
(
here
+
'
/../dist/
'
+
APP_NAME
+
"
.app
"
)
APP_PATH
=
os
.
path
.
abspath
(
here
+
'
/../dist/
'
+
APP_NAME
+
"
.app
"
)
STAGING
=
os
.
path
.
abspath
(
here
+
'
/../staging/
'
)
STAGING
=
os
.
path
.
abspath
(
here
+
'
/../staging/
'
)
...
...
This diff is collapsed.
Click to expand it.
version
deleted
100644 → 0
+
0
−
1
View file @
ad175ba3
0.11
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