Pixel-Composer/scripts/migration_function/migration_function.gml

12 lines
322 B
Plaintext
Raw Normal View History

2023-02-14 05:32:32 +01:00
function __migration_check() {
2023-03-08 12:14:01 +01:00
var oldDir = environment_get_variable("userprofile") + "/AppData/Local/Pixels_Composer/";
2023-02-14 05:32:32 +01:00
if(!directory_exists(oldDir)) return;
var mig = oldDir + "migration";
if(file_exists(mig)) return;
var f = file_text_open_write(mig);
file_text_close(f);
dialogCall(o_dialog_migration);
}