Pixel-Composer/scripts/migration_function/migration_function.gml

12 lines
299 B
Plaintext
Raw Normal View History

2023-02-14 05:32:32 +01:00
function __migration_check() {
2023-12-13 11:09:06 +01:00
var oldDir = env_user() + "/AppData/Local/Pixels_Composer/";
2023-02-14 05:32:32 +01:00
if(!directory_exists(oldDir)) return;
var mig = oldDir + "migration";
2023-12-08 03:50:09 +01:00
if(file_exists_empty(mig)) return;
2023-02-14 05:32:32 +01:00
var f = file_text_open_write(mig);
file_text_close(f);
dialogCall(o_dialog_migration);
}