-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from BlueCitizens/dev-gui
Add GUI and Improve Functionality
- Loading branch information
Showing
246 changed files
with
50,373 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
.idea | ||
node_modules | ||
out | ||
venv/ | ||
app.dist/ | ||
app.exe | ||
app.spec | ||
bilicache.log | ||
dist/ | ||
npminstall-debug.log | ||
nuitka-crash-report.xml |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>com.apple.security.cs.allow-jit</key> | ||
<true/> | ||
<key>com.apple.security.cs.allow-unsigned-executable-memory</key> | ||
<true/> | ||
<key>com.apple.security.cs.allow-dyld-environment-variables</key> | ||
<true/> | ||
</dict> | ||
</plist> |
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
provider: generic | ||
url: https://example.com/auto-updates | ||
updaterCacheDirName: bilibili-cache-converter-gui-updater |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
appId: com.bckun.app | ||
productName: Bili Cache Converter | ||
directories: | ||
buildResources: build | ||
files: | ||
- '!**/.vscode/*' | ||
- '!src/*' | ||
- '!electron.vite.config.{js,ts,mjs,cjs}' | ||
- '!{.eslintignore,.eslintrc.cjs,.prettierignore,.prettierrc.yaml,dev-app-update.yml,nuitka-crash-report.xml,CHANGELOG.md,README.md, package.json,requirements.txt}' | ||
- '!{.env,.env.*,.npmrc,pnpm-lock.yaml,*.log}' | ||
- '!venv/*' | ||
- '!**/node_modules/{axios/*,mdui/*,vue-router/*}' | ||
- '!**/node_modules/*/icons/*' | ||
- '!app.*/*' | ||
asarUnpack: | ||
- resources/** | ||
win: | ||
icon: 'build/bili.ico' | ||
executableName: bccgui | ||
requestedExecutionLevel: requireAdministrator | ||
nsis: | ||
artifactName: ${name}-${version}-setup.${ext} | ||
shortcutName: ${productName} | ||
uninstallDisplayName: ${productName} | ||
createDesktopShortcut: always | ||
oneClick: false | ||
perMachine: true | ||
allowToChangeInstallationDirectory: true | ||
deleteAppDataOnUninstall: true | ||
createStartMenuShortcut: true | ||
|
||
mac: | ||
entitlementsInherit: build/entitlements.mac.plist | ||
extendInfo: | ||
- NSCameraUsageDescription: Application requests access to the device's camera. | ||
- NSMicrophoneUsageDescription: Application requests access to the device's microphone. | ||
- NSDocumentsFolderUsageDescription: Application requests access to the user's Documents folder. | ||
- NSDownloadsFolderUsageDescription: Application requests access to the user's Downloads folder. | ||
notarize: false | ||
dmg: | ||
artifactName: ${name}-${version}.${ext} | ||
linux: | ||
target: | ||
- AppImage | ||
- snap | ||
- deb | ||
maintainer: electronjs.org | ||
category: Utility | ||
appImage: | ||
artifactName: ${name}-${version}.${ext} | ||
npmRebuild: false | ||
publish: | ||
provider: generic | ||
url: https://example.com/auto-updates | ||
electronDownload: | ||
mirror: https://npmmirror.com/mirrors/electron/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
import { resolve } from 'path' | ||
import { defineConfig, externalizeDepsPlugin } from 'electron-vite' | ||
import vue from '@vitejs/plugin-vue' | ||
|
||
export default defineConfig({ | ||
main: { | ||
plugins: [externalizeDepsPlugin()] | ||
}, | ||
preload: { | ||
plugins: [externalizeDepsPlugin()] | ||
}, | ||
renderer: { | ||
resolve: { | ||
alias: { | ||
'@renderer': resolve('src/renderer/src') | ||
} | ||
}, | ||
plugins: [vue({ | ||
template: { | ||
compilerOptions: { | ||
// 所有以 mdui- 开头的标签名都是 mdui 组件 | ||
isCustomElement: (tag) => tag.startsWith('mdui-') | ||
} | ||
} | ||
})], | ||
server: { | ||
host: '127.0.0.1', | ||
port: 5173, | ||
strictPort: false, | ||
proxy: { | ||
'/api': { | ||
target: `http://127.0.0.1:5001`, | ||
changeOrigin: true, | ||
rewrite: (path) => path.replace(/^\/api/, '') | ||
} | ||
}, | ||
} | ||
} | ||
}) |
Oops, something went wrong.