Fast Charging Mode is an application that speeds up your charging by disabling certain functions on your apple device that ruin your battery life like wifi, mobile data and more!
Что нового
Версия 1.1
- Minor bug fixes
Что делает
Действий: 22-
Choose from MenuEnable Fast Charging Mode (FCM)?
-
Choose from MenuYes
-
Get My Shortcuts
-
If
-
Dictionary
-
Run ShortcutShortcuts Updater
-
Show NotificationYou're running the latest version of FCM.
-
Wait
-
Set Wi-Fi
-
Set Cellular Data
-
Set Airplane Mode
-
Set Bluetooth
-
Set Brightness
-
Choose from MenuNo
-
Show Alert
-
Choose from MenuDisable
-
Set Airplane Mode
-
Set Wi-Fi
-
Set Cellular Data
-
Set Brightness
-
Choose from MenuChangelog
-
Create Note
Посмотреть как код
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#include 'actions/shortcuts'
#define color darkblue
#define glyph battery
menu "Enable Fast Charging Mode (FCM)?" {
item "Yes":
const MyShortcuts = getShortcuts()
if MyShortcuts {
const Dictionary = {
"Name": "Fast Charging Mode",
"ShareID": 2789,
"Version": "1.1"
}
const ShortcutResult = run("Shortcuts Updater", Dictionary)
showNotification("You're running the latest version of\nFCM.", "FCM 1.1 update", ShortcutResult)
wait(3)
}
setWifi(0)
setCellularData(0)
setAirplaneMode(false)
setBluetooth(0)
setBrightness(0.19696970283985138)
item "No":
confirm("FCM not enabled, normal changing mode persists.")
item "Disable":
setAirplaneMode(0)
setWifi(false)
setCellularData(1)
setBrightness(0.5)
item "Changelog":
rawAction("com.apple.mobilenotes.SharingExtension", {
"AppIntentDescriptor": "",
"WFCreateNoteInput": "- Added bug fixes\n- Implemented auto-updating\n-------------------------------\nV1.1",
"WFNoteGroup": "",
"folder": ""
})
}
Открыть в Cherri Playground
Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.
Оценки и отзывы
Написать отзыв–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Пока нет отзывов. Поделись мнением первым!
Реклама
Ещё от jackz
Вам также может понравиться
Реклама