This is no longer necessary with LSV1
All checks were successful
Build & Test / build-run (push) Successful in 42s
All checks were successful
Build & Test / build-run (push) Successful in 42s
This commit is contained in:
parent
5e3817c1a7
commit
68f54b341b
1 changed files with 0 additions and 1 deletions
|
@ -127,7 +127,6 @@ function autoRedirect(): boolean {
|
||||||
function setAutoRedirect(option: string) {
|
function setAutoRedirect(option: string) {
|
||||||
const instance = storageManager.storage.instances.find(e => e.origin === option);
|
const instance = storageManager.storage.instances.find(e => e.origin === option);
|
||||||
if (!instance) throw new Error("Invalid argument");
|
if (!instance) throw new Error("Invalid argument");
|
||||||
instance.preferredFor ??= [];
|
|
||||||
instance.preferredFor.push(getTargetSoftwareOrGroup());
|
instance.preferredFor.push(getTargetSoftwareOrGroup());
|
||||||
storageManager.save();
|
storageManager.save();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue