Skip to content

Commit

Permalink
v2.0.3-beta.3
Browse files Browse the repository at this point in the history
  • Loading branch information
caorushizi committed Jan 22, 2024
1 parent 030a43f commit 9b62b8a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
APP_NAME=media-downloader
APP_ID=mediago.ziying.site
APP_COPYRIGHT=caorushizi
APP_VERSION=2.0.3-beta.2
APP_VERSION=2.0.3-beta.3

APP_SERVER_PORT=8433
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
uses: actions/setup-go@v4
with:
go-version: "1.21.5"
cache-dependency-path: "internal/go.sum"

# step4: install python env
- name: Install Python
Expand All @@ -62,6 +63,7 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
APP_TD_APPID: ${{ secrets.APP_TD_APPID }}
APP_CLARITY_APPID: ${{ secrets.APP_CLARITY_APPID}}

- uses: actions/upload-artifact@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion packages/main/app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "media-downloader",
"version": "2.0.3-beta.2",
"version": "2.0.3-beta.3",
"description": "在线视频下载器",
"main": "main/index.js",
"author": "",
Expand Down
3 changes: 2 additions & 1 deletion packages/main/src/windows/window.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { BrowserWindow, BrowserWindowConstructorOptions } from "electron";
import isDev from "electron-is-dev";

export default class Window {
window: BrowserWindow | null = null;
Expand Down Expand Up @@ -27,7 +28,7 @@ export default class Window {
if (!this.window) return;

this.window.show();
this.window.webContents.openDevTools();
isDev && this.window.webContents.openDevTools();
};

windowClose = () => {
Expand Down

0 comments on commit 9b62b8a

Please sign in to comment.