| | |
| | | } |
| | | |
| | | /** |
| | | * 获取存放【驱动文件夹】根路径 |
| | | */ |
| | | public String getDriveRootPath() { |
| | | return getAPPInternalStoreFilesPath() + "/upgrade/drive"; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 获取存放【固件文件夹】根路径 |
| | | */ |
| | | public String getFirmwareRootPath() { |
| | | return getAPPInternalStoreFilesPath() + "/upgrade/firmware"; |
| | | } |
| | | |
| | | /** |
| | | * 获取【日志文件】全路径 |
| | | */ |
| | | public String getLogFilePath() { |
| | | return getCurrentHomeRootPath() + "/Log.txt"; |
| | | return getCurrentHomeRootPath() + "/log.txt"; |
| | | } |
| | | |
| | | /** |
| | | * 获取【用户文件】全路径 |
| | | */ |
| | | public String getUserFilePath() { |
| | | return getAPPInternalStoreFilesPath() + "/UserConfigManage.txt"; |
| | | return getAPPInternalStoreFilesPath() + "/userConfigManage.txt"; |
| | | } |
| | | |
| | | //endregion |
| | |
| | | public void createDirectory() { |
| | | //存放住宅信息 |
| | | this.createFileDir(this.getCurrentHomeRootPath()); |
| | | //驱动文件 |
| | | this.createFileDir(this.getDriveRootPath()); |
| | | //固件文件 |
| | | this.createFileDir(this.getFirmwareRootPath()); |
| | | |
| | | } |
| | | |
| | | /** |