Update icon, and FINALLY invent the version stack

This commit is contained in:
Astatin3
2024-06-23 14:14:22 -06:00
parent 2e237630c4
commit 5214d09f0c
29 changed files with 1081 additions and 82 deletions
@@ -0,0 +1,23 @@
package com.astatin3.scoutingapp2025.SettingsVersionStack;
public class v1 extends v0 {
@Override
public int getVersion() {
return 1;
}
@Override
public void update(){
if(get_file_version() < getVersion()){super.update();}
set_file_version(getVersion());
// writeTag("test1", "value_v1_1");
writeTag("test2", "value_v1_2");
writeTag("test3", "value_v1_3");
}
@Override
public void defaultSettings() {
forceWriteTag("test1", "value1");
forceWriteTag("test2", "value2");
forceWriteTag("test3", "value3");
}
}