Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cesium-desktop
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Show more breadcrumbs
clients
Cesium-grp
cesium-desktop
Commits
adc9f85d
Commit
adc9f85d
authored
1 year ago
by
Benoit Lavenier
Browse files
Options
Downloads
Patches
Plain Diff
fix(desktop) Fix indows build script
parent
89e7db0f
No related branches found
No related tags found
No related merge requests found
Pipeline
#32892
failed
1 year ago
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
arch/windows/Vagrantfile
+1
-0
1 addition, 0 deletions
arch/windows/Vagrantfile
arch/windows/build.bat
+10
-3
10 additions, 3 deletions
arch/windows/build.bat
with
11 additions
and
3 deletions
arch/windows/Vagrantfile
+
1
−
0
View file @
adc9f85d
...
@@ -5,6 +5,7 @@ Vagrant.configure("2") do |config|
...
@@ -5,6 +5,7 @@ Vagrant.configure("2") do |config|
config
.
vm
.
define
"duniter-release-windows"
config
.
vm
.
define
"duniter-release-windows"
config
.
vm
.
box
=
"https://s3.eu-central-1.amazonaws.com/duniter/vagrant/duniter_win7.box"
config
.
vm
.
box
=
"https://s3.eu-central-1.amazonaws.com/duniter/vagrant/duniter_win7.box"
config
.
vm
.
box_url
=
"duniter_win7.box"
config
.
vm
.
box_url
=
"duniter_win7.box"
config
.
vm
.
provision
:shell
,
path:
"build.bat"
,
run:
'always'
config
.
vm
.
provision
:shell
,
path:
"build.bat"
,
run:
'always'
#config.vm.boot_timeout = 900
#config.vm.boot_timeout = 900
...
...
This diff is collapsed.
Click to expand it.
arch/windows/build.bat
+
10
−
3
View file @
adc9f85d
...
@@ -13,12 +13,17 @@ REM InnoSetup
...
@@ -13,12 +13,17 @@ REM InnoSetup
set
PATH
=
"C:\Program Files (x86)\Inno Setup 5"
;
%PATH%
set
PATH
=
"C:\Program Files (x86)\Inno Setup 5"
;
%PATH%
cd
C
:\Users\vagrant
cd
C
:\Users\vagrant
REM echo "
Suppression des anciennes
source
s
..."
REM echo "
Deleting old
source..."
del
/s /q
cesium
-v
*
-web
.zip
del
/s /q
cesium
-v
*
-web
.zip
rd
/s /q
cesium
rd
/s /q
cesium
rd
/s /q
cesium_release
rd
/s /q
cesium_release
echo
"Clonage de Cesium..."
echo
"Cloning Cesium (from git.duniter.org)..."
echo
"Cloning Cesium (from github.com)..."
git
clone
https
://github.com/duniter/cesium.git
git
clone
https
://github.com/duniter/cesium.git
if
not
exist
C
:\Users\vagrant\cesium
(
echo
"ERROR: Cannot clone Cesium source
!
"
exit
1
)
cd
cesium
cd
cesium
for
/f
"delims="
%%a
in
(
'git rev-list --tags --max-count=1'
)
do
@set
CESIUM_REV
=
%%a
for
/f
"delims="
%%a
in
(
'git rev-list --tags --max-count=1'
)
do
@set
CESIUM_REV
=
%%a
...
@@ -32,7 +37,7 @@ echo %CESIUM_ZIP%
...
@@ -32,7 +37,7 @@ echo %CESIUM_ZIP%
cd
..
cd
..
if
not
exist
C
:\vagrant\
%NW_GZ%
(
if
not
exist
C
:\vagrant\
%NW_GZ%
(
echo
"
Telechargement de
%NW%
.zip..."
echo
"
Downloading
%NW%
.zip..."
REM powershell -Command "Invoke-WebRequest -Uri https://dl.nwjs.io/v%NW_VERSION%/%NW%.zip -OutFile C:\vagrant\%NW_GZ%"
REM powershell -Command "Invoke-WebRequest -Uri https://dl.nwjs.io/v%NW_VERSION%/%NW%.zip -OutFile C:\vagrant\%NW_GZ%"
powershell
-Command
"(New-Object System.Net.WebClient).DownloadFile(\"
https
://dl.nwjs.io/v
%NW_VERSION%
/
%NW%
.zip\
", \"
C
:\vagrant\
%NW_GZ%
\
")"
powershell
-Command
"(New-Object System.Net.WebClient).DownloadFile(\"
https
://dl.nwjs.io/v
%NW_VERSION%
/
%NW%
.zip\
", \"
C
:\vagrant\
%NW_GZ%
\
")"
)
)
...
@@ -68,3 +73,5 @@ cd ..
...
@@ -68,3 +73,5 @@ cd ..
iscc
C
:\vagrant\cesium.iss
/DROOT
_PATH
=
%cd%
iscc
C
:\vagrant\cesium.iss
/DROOT
_PATH
=
%cd%
move
%cd%
\Cesium.exe
C
:\vagrant\cesium
-desktop
-
%CESIUM_TAG%
-windows-x
64
.exe
move
%cd%
\Cesium.exe
C
:\vagrant\cesium
-desktop
-
%CESIUM_TAG%
-windows-x
64
.exe
echo
"Build done: binary available at cesium-desktop-
%CESIUM_TAG%
-windows-x64.exe"
echo
"Build done: binary available at cesium-desktop-
%CESIUM_TAG%
-windows-x64.exe"
exit
0
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