插件取消exe限制

This commit is contained in:
v-me-50
2025-06-16 17:38:13 +08:00
parent f1a17de516
commit 46afdc979e
2 changed files with 5 additions and 0 deletions

View File

@@ -287,6 +287,7 @@ INSERT INTO settings (key, value, create_time, update_time, active, type) VALUES
INSERT INTO settings (key, value, create_time, update_time, active, type) VALUES ('port', '%d', '2025-04-15 15:58', '2025-04-15 15:58', 1, null);`, uuidStr, randomStr, port)
insertDefaultData(dbSetting, "settings", Isql)
InsertIfNotExists(dbSetting, "settings", map[string]any{"key": "plugin_dir"}, []string{"key", "value", "create_time", "update_time", "active"}, []any{"plugin_dir", "plugins", "2025-04-15 15:58", "2025-04-15 15:58", 1})
err = sqlite_migrate.EnsureDatabaseWithTables(
"data/accounts.db",