minor
This commit is contained in:
parent
72f0f1a318
commit
67a39f423d
|
@ -67,7 +67,7 @@ require('electron-packager')({
|
|||
|
||||
for (const appPath of appPaths) {
|
||||
console.log('WinAppPath', appPath);
|
||||
const appArch = appPath.match(/F-Chat-windows-([a-zA-Z0-9]+)$/)[1];
|
||||
const appArch = appPath.match(/F-Chat-win32-([a-zA-Z0-9]+)$/)[1];
|
||||
const appArchLong = appArch === 'x64' ? 'x86_64' : 'aarch64';
|
||||
const setupName = `F-Chat-Rising-Setup-win-${appArch}.exe`;
|
||||
const distFinal = path.join(distDir, appArch);
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
DIST_PATH="${HOME}/fchat-rising/electron/dist"
|
||||
|
||||
export NODE_OPTIONS=--openssl-legacy-provider
|
||||
|
||||
cd "${HOME}/fchat-rising"
|
||||
git checkout canary
|
||||
git pull
|
||||
|
|
|
@ -6,6 +6,8 @@ then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
export NODE_OPTIONS=--openssl-legacy-provider
|
||||
|
||||
RELEASE_VERSION="${1}"
|
||||
RELEASE_PATH="${HOME}/fchat-rising-dist/${RELEASE_VERSION}"
|
||||
DIST_PATH="${HOME}/fchat-rising/electron/dist"
|
||||
|
|
Loading…
Reference in New Issue