Enhance installation process with terminal selection, update autostart commands, and add PolyForm license; remove unused AGS config
This commit is contained in:
@@ -29,6 +29,7 @@ process.env.HOME = fakeHome;
|
||||
after(() => rmSync(fakeHome, { recursive: true, force: true }));
|
||||
|
||||
const {
|
||||
autostartCmdsFor,
|
||||
backupConflicts,
|
||||
restoreLatestBackup,
|
||||
restow,
|
||||
@@ -42,6 +43,13 @@ const dirs = ["hyprland", "waybar", "kitty", "hyprpaper"];
|
||||
const hyprlandTarget = join(fakeHome, ".config", "hypr", "hyprland.lua");
|
||||
const wallpaperTarget = join(fakeHome, ".config", "hypr", "wallpapers", "wallpaper.png");
|
||||
|
||||
test("autostartCmdsFor picks known autostart packages and appends hyprlauncher -d", { skip }, () => {
|
||||
assert.deepStrictEqual(
|
||||
autostartCmdsFor(["hyprland", "mako", "hyprlauncher"]),
|
||||
["mako", "hyprlauncher -d"],
|
||||
);
|
||||
});
|
||||
|
||||
test("seeds a pre-existing conflicting file", { skip }, () => {
|
||||
mkdirSync(join(fakeHome, ".config", "hypr"), { recursive: true });
|
||||
writeFileSync(hyprlandTarget, "old config\n");
|
||||
|
||||
Reference in New Issue
Block a user