Enhance installation process with terminal selection, update autostart commands, and add PolyForm license; remove unused AGS config
This commit is contained in:
1 parent
3ee00f2de3
commit
ed0a09bfcc
14 files changed
+274
-30
No files matched your search
@@ -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