Skip to content

Commit

Permalink
[DEV] clean build
Browse files Browse the repository at this point in the history
  • Loading branch information
Emily committed Sep 13, 2022
1 parent df70a32 commit 58d42e5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions dev/clean_build.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@


const fs = require('fs');

fs.rmSync('build/win-ia32-unpacked/resources/app/src/offsets.min.js.hide', { force: true, recursive: true })
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"compile": "tsc --project tsconfig.json",
"build": "cd src/components/winapi/cpp/ayaya-winapi && node-gyp clean configure build --target=20.0.1 --arch=ia32 --dist-url=https://electronjs.org/headers",
"compile:cp": "node dev/copy_files.js",
"package": "electron-builder --dir"
"package": "electron-builder --dir && node dev/clean_build.js"
},
"build": {
"appId": "aya.ayayaleague.app",
Expand Down
2 changes: 1 addition & 1 deletion src/ui/settings/app_loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const fs = require('fs');
const path = require('path');

const state = Vue.reactive({
version: "2.1.0",
version: "2.2.0",
vKeys,
updated: true,
inGame: false,
Expand Down

0 comments on commit 58d42e5

Please sign in to comment.