mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2025-08-14 03:25:55 +08:00
fix: Process ids are now preserved in migration
This commit is contained in:
parent
ce51674d6b
commit
9e33160e37
@ -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": {
|
||||||
|
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user