- const BASE_URL = "https://git.tyrantg.com/tyrantgenesis/hikerViewRules/raw/master/assets/"
- const LOCAL_URL = 'hiker://files/rules/TyrantG/assets/'
- const godSaveFile = (asset_path) => {
- saveImage(BASE_URL+asset_path, LOCAL_URL+asset_path)
- }
- godSaveFile('images/avatar.jpg')
|