var lblScroll = new Gtk.ScrolledWindow(null, null);
lblScroll.add(lbl);
lblScroll.set_max_content_height(100);
progresscr.pack_start(lblScroll);
//The length will never be the same if the file is not found
//The length will never be the same if the file is not found
if(isfile.char_count() != isft.char_count()){
if(isfile.char_count() != isft.char_count()){
print("\n root backup \n");
print("\n root backup \n");
string testx;
string testx;
Process.spawn_command_line_sync("bash command", out testx);
//Process.spawn_command_line_sync("bash command", out testx);
progresscr.pack_start(new Gtk.Label(testx));
progresscr.pack_start(new Gtk.Label(testx));
//print(testx);
//print(testx);
progresscr.pack_start(new Gtk.Label("This seems to be your first nostalgia backup on this harddrive, so it will take a while"), false, false, 10);
progresscr.pack_start(new Gtk.Label("This seems to be your first nostalgia backup on this harddrive, so it will take a while"), false, false, 10);
@ -188,34 +198,34 @@ so please be patient and let us get your system back and running"), true, false,
int otcr;
int otcr;
int dum;
int dum;
bool lop=true;
bool lop=true;
//Process.spawn_async_with_pipes(loc, {"rsync", "-a", "~/debian", "~/test", "--no-i-r"}, spawn_env1, SpawnFlags.SEARCH_PATH | SpawnFlags.DO_NOT_REAP_CHILD, null, out rpid, out dum, out otcr, out dum);
Process.spawn_async_with_pipes(loc, {"bash", "install"}, spawn_env1, SpawnFlags.SEARCH_PATH | SpawnFlags.DO_NOT_REAP_CHILD, null, out rpid, out dum, out otcr, out dum);
@ -231,6 +241,19 @@ so please be patient and let us get your system back and running"), true, false,
set_resizable(false);
set_resizable(false);
show_all();
show_all();
print("Hey, thanks for choosing nostalgia! \n");
print("Hey, thanks for choosing nostalgia! \n");
print("If you're looking at the debug output most probably you're having some trouble with this program, so feel free to email me at konicksdev@gmail.com and I'll see if I can help \n");
print("If you're looking at the debug output most probably you're having some trouble with this program, so feel free to email me at [ioachim.radu@protonmail.com] and I'll see if I can help \n");