mirror of
https://github.com/rubickCenter/rubick
synced 2025-12-29 22:39:45 +08:00
✨ 支持插件开发者模式
This commit is contained in:
8
src/common/constans/main.ts
Normal file
8
src/common/constans/main.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import { app } from "electron";
|
||||
import path from "path";
|
||||
|
||||
const appPath = app.getPath("cache");
|
||||
|
||||
const PLUGIN_INSTALL_DIR = path.join(appPath, "./rubick-plugins");
|
||||
|
||||
export { PLUGIN_INSTALL_DIR };
|
||||
Reference in New Issue
Block a user