@ -1,8 +1,8 @@
APP_NAME=media-downloader
APP_VERSION=0.1.0
APP_VERSION=2.0.0
APP_ID=mediago.ziying.site
APP_COPYRIGHT=caorushizi
APP_UPDATER_UEL=https://your-deployment-url.com
APP_UPDATER_UEL=https://github.com/caorushizi/m3u8-downloader
APP_BASE_URL=http://baidu.com
APP_TD_APPID=
@ -37,7 +37,6 @@ export type Controller = Record<string | symbol, any>;
export interface LoggerService {
logger: ElectronLog;
init: () => void;
info: (...args: any[]) => void;
error: (...args: any[]) => void;
warn: (...args: any[]) => void;
@ -18,10 +18,6 @@ export default class LoggerServiceImpl implements LoggerService {
this.logger = logger;
}
init(): void {
// empty
info(...args: any[]) {
return this.logger.info(...args);
@ -8,9 +8,7 @@ import isDev from "electron-is-dev";
export default class UpdateServiceImpl implements UpdateService {
constructor(
@inject(TYPES.LoggerService) private readonly logger: LoggerService
) {
) {}
if (isDev) return;