OMORI_Android/config.xml

43 lines
3.2 KiB
XML

<?xml version='1.0' encoding='utf-8'?>
<widget id="su.viende.omori" version="1.0.8-dev" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<preference name="orientation" value="sensorLandscape" />
<preference name="Fullscreen" value="true" />
<platform name="android">
<preference name="AndroidWindowSplashScreenAnimatedIcon" value="res/android/omori-splash.png" />
<preference name="AndroidWindowSplashScreenIconBackgroundColor" value="#f5f5f5" />
<preference name="AndroidInsecureFileModeEnabled" value="true" />
<preference name="loadUrlTimeoutValue" value="700000" />
<preference name="hostname" value="localhost" />
<preference name="KeepRunning" value="true"/>
<preference name="isGame" value="true"/>
</platform>
<platform name="android">
<icon monochrome="res/android/ldpi/ic_launcher_monochrome.png" background="res/android/ldpi/ic_launcher_background.png" density="ldpi" foreground="res/android/ldpi/ic_launcher_foreground.png" src="res/android/ldpi/ic_launcher.png" />
<icon monochrome="res/android/mdpi/ic_launcher_monochrome.png" background="res/android/mdpi/ic_launcher_background.png" density="mdpi" foreground="res/android/mdpi/ic_launcher_foreground.png" src="res/android/mdpi/ic_launcher.png" />
<icon monochrome="res/android/hdpi/ic_launcher_monochrome.png" background="res/android/hdpi/ic_launcher_background.png" density="hdpi" foreground="res/android/hdpi/ic_launcher_foreground.png" src="res/android/hdpi/ic_launcher.png" />
<icon monochrome="res/android/xhdpi/ic_launcher_monochrome.png" background="res/android/xhdpi/ic_launcher_background.png" density="xhdpi" foreground="res/android/xhdpi/ic_launcher_foreground.png" src="res/android/xhdpi/ic_launcher.png" />
<icon monochrome="res/android/xxhdpi/ic_launcher_monochrome.png" background="res/android/xxhdpi/ic_launcher_background.png" density="xxhdpi" foreground="res/android/xxhdpi/ic_launcher_foreground.png" src="res/android/xxhdpi/ic_launcher.png" />
<icon monochrome="res/android/xxxhdpi/ic_launcher_monochrome.png" background="res/android/xxxhdpi/ic_launcher_background.png" density="xxxhdpi" foreground="res/android/xxxhdpi/ic_launcher_foreground.png" src="res/android/xxxhdpi/ic_launcher.png" />
</platform>
<platform name="android">
<config-file target="AndroidManifest.xml" parent="/*" xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
</config-file>
<edit-config file="AndroidManifest.xml" mode="merge" target="/manifest/application">
<application android:requestLegacyExternalStorage="true" />
</edit-config>
</platform>
<name>OMORI</name>
<description>OMORI Android Port</description>
<author email="noemail@email.ru" href="https://viende.su">
VienDesu! Porting team
</author>
<content src="index.html" />
<allow-intent href="http://*/*" />
<allow-intent href="https://*/*" />
</widget>