mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-07-24 17:03:00 +10:00
fix: notifications and store styling
This commit is contained in:
@@ -14,6 +14,7 @@ import { recursivelyReaddir } from "../utils/recursivedirs";
|
||||
import taskHandler from "../tasks";
|
||||
import { parsePlatform } from "../utils/parseplatform";
|
||||
import droplet from "@drop/droplet";
|
||||
import notificationSystem from "../notifications";
|
||||
|
||||
class LibraryManager {
|
||||
private basePath: string;
|
||||
@@ -297,6 +298,15 @@ class LibraryManager {
|
||||
|
||||
log("Successfully created version!");
|
||||
|
||||
notificationSystem.systemPush({
|
||||
nonce: `version-create-${gameId}-${versionName}`,
|
||||
title: `'${game.mName}' ('${versionName}') finished importing.`,
|
||||
description: `Drop finished importing version ${versionName} for ${game.mName}.`,
|
||||
actions: [
|
||||
`View|/admin/library/${gameId}`
|
||||
]
|
||||
})
|
||||
|
||||
progress(100);
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user