This commit is contained in:
Mr. Stallion 2023-09-03 15:29:02 -07:00
parent 72f0f1a318
commit 67a39f423d
3 changed files with 5 additions and 1 deletions

View File

@ -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);

View File

@ -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

View File

@ -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"