mirror of
https://gitee.com/viarotel-org/escrcpy.git
synced 2024-11-29 18:01:34 +08:00
fix: 🐛 Start app to adapt to dark mode
This commit is contained in:
parent
0e5710d539
commit
ae13fdea07
@ -107,7 +107,14 @@ pnpm build:linux # Build for Linux
|
||||
|
||||
### Specific area "throw new Error('Electron failed to install correctly, please delete node_modules/electron and try installing again')"
|
||||
|
||||
Overwrite the contents of `.npmrc.CN` in the project to `.npmrc`, then delete `node_modules` and reinstall dependencies. Alternatively, you can use [electron-fix](https://github.com/pangxieju/electron-fix)
|
||||
Overwrite the contents of `.npmrc.CN` in the project to `.npmrc`, then delete `node_modules` and reinstall dependencies.
|
||||
|
||||
Alternatively, you can use [electron-fix](https://github.com/pangxieju/electron-fix)
|
||||
|
||||
```shell
|
||||
# Run in this project directory
|
||||
npx electron-fix start
|
||||
```
|
||||
|
||||
## Support and Contact
|
||||
|
||||
|
@ -16,6 +16,7 @@
|
||||
"build:win": "vite build && electron-builder --win",
|
||||
"build:mac": "vite build && electron-builder --mac",
|
||||
"build:linux": "vite build && electron-builder --linux",
|
||||
"electron-fix": "npx electron-fix start",
|
||||
"svgo": "svgo --folder=src/icons/svgo --output=src/icons/svg --config=src/icons/svgo.config.js",
|
||||
"postinstall": "electron-builder install-app-deps",
|
||||
"prepare": "husky install"
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
<template #dropdown>
|
||||
<el-dropdown-menu>
|
||||
<div class="sticky top-0 px-2 pt-2 pb-2 bg-white border-b">
|
||||
<div class="sticky top-0 z-10 px-2 pt-2 pb-2 bg-[var(--el-bg-color-overlay)] border-b dark:border-gray-700">
|
||||
<el-input v-model="keyword" class="!w-full" :placeholder="$t('common.search')" prefix-icon="Search"></el-input>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user