fix: Process ids are now preserved in migration

This commit is contained in:
Peng-YM 2022-07-05 13:47:20 +08:00
parent ce51674d6b
commit 9e33160e37
2 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "sub-store", "name": "sub-store",
"version": "2.5.0", "version": "2.5.1",
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.", "description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.",
"main": "src/main.js", "main": "src/main.js",
"scripts": { "scripts": {

View File

@ -78,7 +78,6 @@ function doMigrationV2() {
}, },
}; };
processes.forEach((p) => { processes.forEach((p) => {
delete p.id;
if (p.type === 'Set Property Operator') { if (p.type === 'Set Property Operator') {
const { key, value } = p.args; const { key, value } = p.args;
switch (key) { switch (key) {