changed settings path and added version to header
This commit is contained in:
parent
985916fac5
commit
2b594c3915
@ -13,8 +13,8 @@
|
|||||||
<div class="relative w-full flex flex-row items-center justify-center">
|
<div class="relative w-full flex flex-row items-center justify-center">
|
||||||
<img src="/logo.png" class="h-8" />
|
<img src="/logo.png" class="h-8" />
|
||||||
<div class="text-[10px] leading-[10px] text-opacity-90 text-white select-none"
|
<div class="text-[10px] leading-[10px] text-opacity-90 text-white select-none"
|
||||||
>Crunchyroll <br />
|
>CrunchyDL <br />
|
||||||
Downloader</div
|
v{{ packageJson.version }}</div
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
<div class="w-full flex gap-2 flex-row items-center justify-center">
|
<div class="w-full flex gap-2 flex-row items-center justify-center">
|
||||||
@ -31,6 +31,8 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
|
import packageJson from '../package.json';
|
||||||
|
|
||||||
const isProduction = process.env.NODE_ENV !== 'development'
|
const isProduction = process.env.NODE_ENV !== 'development'
|
||||||
|
|
||||||
async function openSettings() {
|
async function openSettings() {
|
||||||
|
@ -2,15 +2,16 @@
|
|||||||
<div class="relative flex flex-col items-center justify-center h-full" style="-webkit-app-region: no-drag">
|
<div class="relative flex flex-col items-center justify-center h-full" style="-webkit-app-region: no-drag">
|
||||||
<img src="/logo.png" class="h-24" />
|
<img src="/logo.png" class="h-24" />
|
||||||
<div class="text-base text-center leading-[18px]">
|
<div class="text-base text-center leading-[18px]">
|
||||||
Crunchyroll <br />
|
CrunchyDL
|
||||||
Downloader
|
|
||||||
</div>
|
</div>
|
||||||
<div class="text-sm mt-1 text-gray-200"> v1.2.3 </div>
|
<div class="text-sm mt-1 text-gray-200"> v{{ packageJson.version }} </div>
|
||||||
<div class="absolute right-0 bottom-0 text-xs text-gray-200"> Made by OpenSTDL </div>
|
<div class="absolute right-0 bottom-0 text-xs text-gray-200"> Made by OpenSTDL </div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" setup></script>
|
<script lang="ts" setup>
|
||||||
|
import packageJson from '../../package.json';
|
||||||
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.font-dm {
|
.font-dm {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div
|
<div
|
||||||
class="fixed bottom-3 right-5 p-3 flex flex-col bg-[#111111dc] w-80 min-h-24 rounded-xl font-dm text-white transition-all duration-300"
|
class="fixed bottom-3 right-5 p-3 z-50 flex flex-col bg-[#111111dc] w-80 min-h-24 rounded-xl font-dm text-white transition-all duration-300"
|
||||||
:class="
|
:class="
|
||||||
(data?.status === 'update-available' && !ignoreUpdate) || data?.status === 'downloading' || data?.status === 'update-downloaded'
|
(data?.status === 'update-available' && !ignoreUpdate) || data?.status === 'downloading' || data?.status === 'update-downloaded'
|
||||||
? 'opacity-100'
|
? 'opacity-100'
|
||||||
|
10
package.json
10
package.json
@ -2,7 +2,7 @@
|
|||||||
"name": "crunchydl",
|
"name": "crunchydl",
|
||||||
"author": "OpenSTDL",
|
"author": "OpenSTDL",
|
||||||
"description": "Crunchyroll Downloader",
|
"description": "Crunchyroll Downloader",
|
||||||
"version": "1.2.3",
|
"version": "1.2.4",
|
||||||
"private": true,
|
"private": true,
|
||||||
"main": ".output/src/electron/background.js",
|
"main": ".output/src/electron/background.js",
|
||||||
"repository": "https://github.com/OpenSTDL/CrunchyDL",
|
"repository": "https://github.com/OpenSTDL/CrunchyDL",
|
||||||
@ -39,11 +39,13 @@
|
|||||||
"nuxt": "3.11.2",
|
"nuxt": "3.11.2",
|
||||||
"nuxt-icon": "^0.6.10",
|
"nuxt-icon": "^0.6.10",
|
||||||
"prettier": "^2.8.8",
|
"prettier": "^2.8.8",
|
||||||
|
"protobufjs": "^7.3.2",
|
||||||
"sass": "^1.77.6",
|
"sass": "^1.77.6",
|
||||||
"sass-loader": "^13.3.3",
|
"sass-loader": "^13.3.3",
|
||||||
"tsc-watch": "^6.2.0",
|
"tsc-watch": "^6.2.0",
|
||||||
"typescript": "^5.5.2",
|
"typescript": "^5.5.2",
|
||||||
"wait-on": "^7.2.0"
|
"wait-on": "^7.2.0",
|
||||||
|
"winston": "^3.13.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fastify/cors": "^9.0.1",
|
"@fastify/cors": "^9.0.1",
|
||||||
@ -60,10 +62,8 @@
|
|||||||
"mpd-parser": "^1.3.0",
|
"mpd-parser": "^1.3.0",
|
||||||
"node-cache": "^5.1.2",
|
"node-cache": "^5.1.2",
|
||||||
"node-cron": "^3.0.3",
|
"node-cron": "^3.0.3",
|
||||||
"protobufjs": "^7.3.2",
|
|
||||||
"sequelize": "^6.37.3",
|
"sequelize": "^6.37.3",
|
||||||
"sqlite3": "5.1.6",
|
"sqlite3": "5.1.6"
|
||||||
"winston": "^3.13.0"
|
|
||||||
},
|
},
|
||||||
"build": {
|
"build": {
|
||||||
"files": [
|
"files": [
|
||||||
|
1476
pnpm-lock.yaml
generated
1476
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -20,6 +20,11 @@ var mainWindow: BrowserWindow
|
|||||||
function createWindow() {
|
function createWindow() {
|
||||||
console.log('System info', { isProduction, platform, architucture })
|
console.log('System info', { isProduction, platform, architucture })
|
||||||
|
|
||||||
|
settings.configure({
|
||||||
|
dir: app.getPath('documents') + '/Crunchyroll Downloader/',
|
||||||
|
fileName: 'settings.json'
|
||||||
|
})
|
||||||
|
|
||||||
mainWindow = new BrowserWindow({
|
mainWindow = new BrowserWindow({
|
||||||
title: 'Crunchyroll Downloader',
|
title: 'Crunchyroll Downloader',
|
||||||
icon: __dirname + '/icon/favicon.ico',
|
icon: __dirname + '/icon/favicon.ico',
|
||||||
|
Reference in New Issue
Block a user