Skip to content

Commit

Permalink
💧v2.8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Trevelopment committed Feb 25, 2019
1 parent 7e44279 commit f3f9049
Show file tree
Hide file tree
Showing 270 changed files with 16,637 additions and 16,395 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,7 @@ launch*
/tools
sign.sh
/app/.pki

AIO\.sh

app/files/tweaks/cmu-autorun/
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# MZD-AIO-TI 2.x.x CHANGELOG [![Download](https://api.bintray.com/packages/trevelopment/MZD-AIO-TI/AIO/images/download.svg?version=MZD-AIO-TI)](http://dl.mazdatweaks.win)
##### FOR [AIO v1.x.x CHANGELOG](https://github.com/Siutsch/AIO---All-in-one-tweaks/blob/master/CHANGELOG.md) or visit [MazdaTweaks.com]
### v2.8.3

#### AIO Tweaks App v0.9
- **System Restore** - Rewritten to accommodate new backup methods in v70

#### **Background Rotator**
- *Fixed* Drag & Drop reordering functionality
- *Fixed* Sideways scrolling with mouse wheel
- *Fixed* "Use Your Own Joined Image (No Resize)" Button
- Completely works now, choose seconds-per-background first

#### Google Translate
- Hide "contribute to a better translation" pop-up (would cover AIO tooltips)

#### **CASDK** Apps available by default
- Clock
- Tetris
- Multidash

### v2.8.2

Expand Down
3 changes: 3 additions & 0 deletions app/assets/css/checkboxStyles.css
Original file line number Diff line number Diff line change
Expand Up @@ -743,6 +743,9 @@ tr.w3-row.w3-col td strong {
#sidePanel .speedo-color .speedo-radio label {
padding: 5px 0px;
}
#sidePanel .fuel-check.speedo-radio label {
width: 100%;
}
tbody.hasColorFiles tr {
max-height: 200px;
height: 100%;
Expand Down
10 changes: 9 additions & 1 deletion app/assets/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -1942,8 +1942,16 @@ select#spdOp-barThemeStart {
.slide-pop {
bottom: 10%;
}
::-webkit-scrollbar-button:single-button:start {
height: 0px!important;
}
}
@media only screen and (max-height: 580px) {
div#header {
height: 50px;
height: 60px;
}
h1#mzd-title {
margin-top: 10px;
}
#mzd-title>*:not(.btn-group) {
display: none;
Expand Down
35 changes: 17 additions & 18 deletions app/assets/js/aapatcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,29 @@ const remote = require('electron').remote
const app = remote.app
const dialog = remote.dialog
const isDev = require('electron-is-dev')
const aaPatchPath = path.resolve((isDev ? path.resolve(`${__dirname}`, "../../") : path.dirname(process.execPath)), 'resources/adb/')
const aaPatcher = path.join(aaPatchPath, "adb.exe")
const aaPatchPath = path.resolve((isDev ? path.resolve(`${__dirname}`, '../../') : path.dirname(process.execPath)), 'resources/adb/')
const aaPatcher = path.join(aaPatchPath, 'adb.exe')
var apk2Patch = null

// Run AA+Patcher
module.exports = function AAPatcher(apk, done) {
apk2Patch = (apk) ? path.join(aaPatchPath, "apk/", apk) : path.join(app.getPath('desktop'), "my.apk")
module.exports = function AAPatcher (apk, done) {
apk2Patch = (apk) ? path.join(aaPatchPath, 'apk/', apk) : path.join(app.getPath('desktop'), 'my.apk')
var deviceConnected = false
var adb = cp.spawn(aaPatcher, ['devices', '-l'], { detached: true })
adb.stdout.on('data', (data) => {
console.log(`stdout: ${data}`)
if (data.includes('model')) {
deviceConnected = true
snackbar("Begin AA Patcher <br>Patching " + (apk ? apk : "my.apk") + " ... ")
snackbar('Begin AA Patcher <br>Patching ' + (apk || 'my.apk') + ' ... ')
}
})

adb.stderr.on('data', (data) => {
console.log(`stderr: ${data}`)
})
adb.on('close', function(code) {
adb.on('close', function (code) {
console.log(`exit code: ${code}`)
if (typeof done === "function") {
if (typeof done === 'function') {
done(code)
}
if (code === 0 && deviceConnected) {
Expand All @@ -43,19 +43,19 @@ module.exports = function AAPatcher(apk, done) {
})
}

function copyAPK(apk) {
function copyAPK (apk) {
snackbar(`Device Found, Copying APK...`)
var adb = cp.spawn(aaPatcher, ['push', apk, 'mnt/sdcard/AIO-IN.apk'], { detached: true })
adb.stdout.on('data', (data) => {
//console.log(`stdout: ${data}`)
// console.log(`stdout: ${data}`)
if (data.indexOf('error:') > 0) {
//dialog.showErrorBox(`ERROR: CONNECT PHONE TO USB AND ENABLE ADB DEBUGGING`, `${data}`)
// dialog.showErrorBox(`ERROR: CONNECT PHONE TO USB AND ENABLE ADB DEBUGGING`, `${data}`)
}
})
adb.stderr.on('data', (data) => {
console.log(`stderr: ${data}`)
})
adb.on('close', function(code) {
adb.on('close', function (code) {
console.log(`exit code: ${code}`)
if (code === 0) {
snackbar(`APK Copyed To Device, Patching...`)
Expand All @@ -68,10 +68,9 @@ function copyAPK(apk) {
adb.on('error', (err) => {
console.log('Failed to start subprocess.')
})

}

function applyPatch() {
function applyPatch () {
// patch to run:
// adb shell pm install -i "com.android.vending" -r /path-to-your-app/file.apk
var adb = cp.spawn(aaPatcher, ['shell', 'pm', 'install', '-i', 'com.android.vending', '-r', 'mnt/sdcard/AIO-IN.apk'], { detached: true })
Expand All @@ -82,16 +81,16 @@ function applyPatch() {
adb.stderr.on('data', (data) => {
console.log(`stderr: ${data}`)
})
adb.on('close', function(code) {
adb.on('close', function (code) {
console.log(`exit code: ${code}\nAPK Patched! Cleaning up...`)
cleanApkFile()
})
adb.on('error', (err) => {
dialog.showErrorBox('Error Patching APK.', err);
dialog.showErrorBox('Error Patching APK.', err)
})
}

function cleanApkFile() {
function cleanApkFile () {
var adb = cp.spawn(aaPatcher, ['shell', 'rm', '-f', 'mnt/sdcard/AIO-IN.apk'], { detached: true })
adb.stdout.on('data', (data) => {
console.log(`stdout: ${data}`)
Expand All @@ -100,7 +99,7 @@ function cleanApkFile() {
adb.stderr.on('data', (data) => {
console.log(`stderr: ${data}`)
})
adb.on('close', function(code) {
adb.on('close', function (code) {
console.log(`exit code: ${code}\nDone!`)
snackbarstay('Patched APK Installation Complete!<br>The App Will Work With Android Auto Now!')
})
Expand All @@ -115,4 +114,4 @@ module.exports = function AAPatcher() {
}, function(result) {
console.log(result);
});
}*/
} */
4 changes: 2 additions & 2 deletions app/assets/js/audioSourceList.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ var entertainmentItems = [
{ label: 'Stitcher', menuItem: 'StitcherItemPos', pos: 10 },
{ label: 'CD Player', menuItem: 'CdPlayerPos', pos: 11 },
{ label: 'DVD', menuItem: 'DVDItemPos', pos: 12 },
{ label: 'TV', menuItem: 'TVItemPos', pos: 13 },
{ label: 'TV', menuItem: 'TVItemPos', pos: 13 }
]

function buildEntList(user) {
function buildEntList (user) {
mkdirp.sync(`${tmpdir}/config/audio_order_AND_no_More_Disclaimer/both/jci/gui/apps/system/js/`)
for (var item in user.entertainmentItems) {
listOrder += 'var ' + user.entertainmentItems[item].menuItem + ' = ' + user.entertainmentItems[item].pos + ';\n'
Expand Down

0 comments on commit f3f9049

Please sign in to comment.