Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Titanium.API.debug("Checking for reset-config\n");
- if ('reset-config' in Drillbit.argv) {
- Titanium.API.debug("************************************Inside reset-config\n");
- if (Titanium.App.Properties.removeProperty("windowX")) {
- Titanium.API.debug("Removed windowX\n");
- }
- if (Titanium.App.Properties.removeProperty("windowY")) {
- Titanium.API.debug("Removed windowY\n");
- }
- if (Titanium.App.Properties.removeProperty("height")) {
- Titanium.API.debug("Removed height\n");
- }
- if (Titanium.App.Properties.removeProperty("width")) {
- Titanium.API.debug("Removed width\n");
- }
- if (Titanium.App.Properties.removeProperty("consoleHeight")) {
- Titanium.API.debug("Removed consoleHeight\n");
- }
- if (Titanium.App.Properties.removeProperty("suitesStatus")) {
- Titanium.API.debug("Removed suitesStatus\n");
- }
- }
- else {
- Titanium.API.debug('Did not find --reset-config in arguments');
- }
- setupConfig();
Add Comment
Please, Sign In to add comment