diff --git a/.vscode/tasks.json b/.vscode/tasks.json
new file mode 100644
index 0000000..6c28385
--- /dev/null
+++ b/.vscode/tasks.json
@@ -0,0 +1,12 @@
+{
+ // See https://go.microsoft.com/fwlink/?LinkId=733558
+ // for the documentation about the tasks.json format
+ "version": "2.0.0",
+ "tasks": [
+ {
+ "label": "echo",
+ "type": "shell",
+ "command": "echo Hello"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/shared_sheets.json b/shared_sheets.json
index 5b45c9f..22437bd 100644
--- a/shared_sheets.json
+++ b/shared_sheets.json
@@ -1,5 +1,13 @@
{
"sheets": [{
+ "name": "Unity",
+ "file": "Unity.txt",
+ "author": "酷安@夏川丶呇",
+ "desc": "酷安酷友@夏川丶呇分享乐谱 Unity",
+ "bpm" : 600,
+ "suggested_instrument": 1,
+ "pitchLevel": 0
+ }, {
"name": "大鱼(简易)",
"file": "大鱼(简易).txt",
"author": "酷安@夏川丶呇",
diff --git a/shared_sheets/Unity.txt b/shared_sheets/Unity.txt
new file mode 100644
index 0000000..21042d3
Binary files /dev/null and b/shared_sheets/Unity.txt differ
diff --git a/source/SkyAutoplayer.js b/source/SkyAutoplayer.js
index 91b0a5a..53beffd 100644
--- a/source/SkyAutoplayer.js
+++ b/source/SkyAutoplayer.js
@@ -2651,7 +2651,14 @@ gui.dialogs.showProgressDialog(function(o) {
type: "default",
name: "结束脚本运行",
onClick: function(v) {
- java.lang.System.exit(0);
+ gui.main.__internal_dismiss();
+ delete gui;
+ delete sheetmgr;
+ delete sheetplayer;
+ delete dp;
+ delete RhinoListAdapter;
+ delete config;
+ exit();
},
}, {
type: "tag",
@@ -2718,6 +2725,6 @@ gui.dialogs.showProgressDialog(function(o) {
callback: function(id) {},
});
}
-}, false, false);
+}, false, true);
});
\ No newline at end of file