File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,15 +7,16 @@ task("install", () => {
77 var platform = process . env . npm_config_target_platform || process . platform ;
88 var arch = process . env . npm_config_target_arch || process . arch ;
99
10- let downloadUrl = `https://github.com/wangfenjin/simple/releases/download/v0.2.0-alpha /libsimple-linux-ubuntu-18.04.zip` ;
10+ let downloadUrl = `https://github.com/wangfenjin/simple/releases/latest/download /libsimple-linux-ubuntu-18.04.zip` ;
1111 if ( platform === "darwin" ) {
1212 platform = "osx" ;
13+ downloadUrl = `https://github.com/wangfenjin/simple/releases/latest/download/libsimple-osx-x64.zip` ;
1314 } else if ( platform === "win32" ) {
1415 platform = "windows" ;
1516 if ( arch === "x64" ) {
16- downloadUrl = `https://github.com/wangfenjin/simple/releases/download/v0.2.0-alpha /libsimple-windows-x64.zip` ;
17+ downloadUrl = `https://github.com/wangfenjin/simple/releases/latest/download /libsimple-windows-x64.zip` ;
1718 } else {
18- downloadUrl = `https://github.com/wangfenjin/simple/releases/download/v0.2.0-alpha /libsimple-windows-x86.zip` ;
19+ downloadUrl = `https://github.com/wangfenjin/simple/releases/latest/download /libsimple-windows-x86.zip` ;
1920 }
2021 }
2122
You can’t perform that action at this time.
0 commit comments