Changeset 1244 for trunk/src/org/expeditee/gui/Browser.java
- Timestamp:
- 03/17/19 22:29:23 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/gui/Browser.java
r1242 r1244 22 22 import java.io.IOException; 23 23 import java.net.Authenticator; 24 import java.nio.file.Path; 24 25 import java.security.KeyStoreException; 25 26 import java.security.NoSuchAlgorithmException; … … 148 149 public static boolean _hasExited = false; 149 150 151 public static String USER_NOBODY = "nobody"; 152 150 153 /** A flag which is set once the application is exiting. */ 151 154 protected boolean _isExiting = false; … … 154 157 155 158 private static String _startFrame = null; 159 156 160 157 161 /** … … 162 166 public static void main(String[] args) 163 167 { 168 if (Boolean.getBoolean("auth")) { 169 String starting_user_name = System.getProperty("user.name"); 170 System.setProperty("startinguser.name", starting_user_name); 171 System.setProperty("user.name", USER_NOBODY); 172 } 173 164 174 // Parse the starting frame command-line argument 165 175 if(args.length > 0) { … … 261 271 Frame userProfile = loadProfiles(); 262 272 273 if (!Boolean.getBoolean("auth")) { 274 String userName = UserSettings.ProfileName.get(); 275 FrameIO.setupPersonalResources(userName); 276 } 263 277 // Listen for save status to display during and after runtime 264 278 EntitySaveManager.getInstance().addSaveStateChangedEventListener(this);
Note:
See TracChangeset
for help on using the changeset viewer.