mirror of
https://github.com/fairyglade/ly.git
synced 2025-12-20 19:24:53 +00:00
Fix authentication
Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
@@ -271,13 +271,13 @@ fn install_ly(allocator: std.mem.Allocator, install_config: bool) !void {
|
|||||||
var patch_map = PatchMap.init(allocator);
|
var patch_map = PatchMap.init(allocator);
|
||||||
defer patch_map.deinit();
|
defer patch_map.deinit();
|
||||||
|
|
||||||
try patch_map.put("$PREFIX_DIRECTORY", prefix_directory);
|
try patch_map.put("$CONFIG_DIRECTORY", config_directory);
|
||||||
|
|
||||||
const patched_xsetup = try patchFile(allocator, "res/xsetup.sh", patch_map);
|
const patched_xsetup = try patchFile(allocator, "res/xsetup.sh", patch_map);
|
||||||
const patched_wsetup = try patchFile(allocator, "res/wsetup.sh", patch_map);
|
const patched_wsetup = try patchFile(allocator, "res/wsetup.sh", patch_map);
|
||||||
|
|
||||||
try installText(patched_xsetup, config_dir, ly_config_directory, "xsetup.sh", .{});
|
try installText(patched_xsetup, config_dir, ly_config_directory, "xsetup.sh", .{ .mode = 0o755 });
|
||||||
try installText(patched_wsetup, config_dir, ly_config_directory, "wsetup.sh", .{});
|
try installText(patched_wsetup, config_dir, ly_config_directory, "wsetup.sh", .{ .mode = 0o755 });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user