Commit 2709be5b authored by Tobias Bernard's avatar Tobias Bernard 🌱

No versions in file names

parent e572ec41
......@@ -119,9 +119,9 @@ namespace Nostalgia {
var contents = yield read_file (Config.WALLPAPERS_DIR + "/wallpaper-timed.xml");
contents = contents.replace ("@datadir@", dest_dir);
contents = contents.replace ("@morning@", version + "-morning");
contents = contents.replace ("@day@", version + "-day");
contents = contents.replace ("@night@", version + "-night");
contents = contents.replace ("@morning@", "morning");
contents = contents.replace ("@day@", "day");
contents = contents.replace ("@night@", "night");
var dest = File.new_for_path (dest_dir + "/" + version + ".xml");
yield dest.replace_contents_async (contents.data, null, false, FileCreateFlags.NONE, null, null);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment