diff --git a/.github/workflows/build_win.yml b/.github/workflows/build_win.yml deleted file mode 100644 index b3cc90c..0000000 --- a/.github/workflows/build_win.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: Build/release - -on: push - -jobs: - release: - runs-on: ${{ matrix.os }} - - strategy: - matrix: - os: [windows-latest] - - steps: - - name: Check out Git repository - uses: actions/checkout@v1 - - - name: Install Node.js, NPM and Yarn - uses: actions/setup-node@v3 - with: - node-version: 16 - - - name: Install Dependencies - run: yarn install - - - name: Build Electron App - env: - GH_TOKEN: ${{ secrets.GH_TOKEN }} - run: yarn electron:build:publish - diff --git a/package.json b/package.json index 90e6fa4..330d377 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "homepage": "https://github.com/Kuari/RedFish", "scripts": { "electron:build": "vue-cli-service electron:build", - "electron:build:m1": "vue-cli-service electron:build --arm64", + "electron:build:mac": "vue-cli-service electron:build --macos --arm64 --x64", "electron:build:publish": "vue-cli-service electron:build -p always", "electron:serve": "vue-cli-service electron:serve" }, diff --git a/src/background.ts b/src/background.ts index d8988c7..33c8028 100644 --- a/src/background.ts +++ b/src/background.ts @@ -15,10 +15,10 @@ async function createWindow () { // Create the browser window. const win = new BrowserWindow({ autoHideMenuBar: true, - // width: screen.getPrimaryDisplay().workAreaSize.width, - // height: screen.getPrimaryDisplay().workAreaSize.height, - width: 1600, - height: 1000, + width: screen.getPrimaryDisplay().workAreaSize.width, + height: screen.getPrimaryDisplay().workAreaSize.height, + // width: 1600, + // height: 1000, webPreferences: { contextIsolation: false, nodeIntegration: true,