travis win
This commit is contained in:
parent
8c8cf44ed6
commit
225786e07f
|
@ -1,6 +1,6 @@
|
|||
os:
|
||||
- osx
|
||||
- linux
|
||||
# - osx
|
||||
# - linux
|
||||
- windows
|
||||
language: node_js
|
||||
node_js:
|
||||
|
@ -25,5 +25,5 @@ deploy:
|
|||
skip_cleanup: true
|
||||
on:
|
||||
repo: cutls/TheDesk
|
||||
tags: false
|
||||
tags: true
|
||||
all_branches: true
|
|
@ -77,7 +77,9 @@ builder.build({
|
|||
config: pref
|
||||
})
|
||||
.then(() => {
|
||||
console.log("Done on "+os)
|
||||
if (os == "win32") {
|
||||
console.log("Windows")
|
||||
fs.renameSync('../build/TheDesk ' + version + '.exe', '../build/TheDesk-ia32.exe');
|
||||
fs.renameSync('../build/TheDesk Setup ' + version + '.exe', '../build/TheDesk-setup-ia32.exe');
|
||||
retry()
|
||||
|
@ -87,6 +89,7 @@ builder.build({
|
|||
// handle error
|
||||
})
|
||||
function retry(){
|
||||
console.log("Windows x64")
|
||||
const targetsAlt = new Map();
|
||||
const archToTypeAlt = new Map();
|
||||
targetsAlt.set(Platform.WINDOWS, archToTypeAlt);
|
||||
|
|
Loading…
Reference in New Issue
Block a user