Skip to content

Commit

Permalink
修复显示 devtool
Browse files Browse the repository at this point in the history
  • Loading branch information
houdunwang committed Feb 20, 2024
1 parent 8635f8f commit 9b56c82
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "houdunren-camera",
"version": "1.0.82",
"version": "1.0.83",
"description": "方便好用的桌面摄像头软件,适合直播、录课、内容分享时使用",
"main": "./out/main/index.js",
"author": "向军大叔",
Expand Down
3 changes: 1 addition & 2 deletions src/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ function createWindow(): void {
sandbox: false
}
})
// if (is.dev)
mainWindow.webContents.openDevTools()
if (is.dev) mainWindow.webContents.openDevTools()
mainWindow.setAspectRatio(16 / 9)

// mainWindow.webContents.openDevTools()
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/src/views/Secret.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script setup lang="ts">
import axios from 'axios'
import { useConfigStore } from '@renderer/stores/useConfigStore'
import axios from 'axios'
import { ElMessage } from 'element-plus'
import { ref } from 'vue'
import Package from '../../../../package.json'
Expand Down

0 comments on commit 9b56c82

Please sign in to comment.