mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
19 lines
405 B
QML
19 lines
405 B
QML
import QtQuick
|
|
import Quickshell
|
|
import qs.Commons
|
|
|
|
QtObject {
|
|
id: root
|
|
|
|
function migrate(adapter, logger, rawJson) {
|
|
logger.i("Migration47", "Removing network_stats.json cache");
|
|
|
|
const networkStatsFile = Settings.cacheDir + "network_stats.json";
|
|
Quickshell.execDetached(["rm", "-f", networkStatsFile]);
|
|
|
|
logger.d("Migration47", "Removed network_stats.json");
|
|
|
|
return true;
|
|
}
|
|
}
|