Skip to content

Commit

Permalink
Improvements
Browse files Browse the repository at this point in the history
- Build script improvements
- App should be smaller in future
  • Loading branch information
DerGoogler committed Aug 3, 2024
1 parent d63e874 commit 02f9e1b
Show file tree
Hide file tree
Showing 40 changed files with 1,013 additions and 137 deletions.
2 changes: 1 addition & 1 deletion Android/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ gen/
*.cxx
app/.cxx/*
app/src/main/assets/www/*
!/app/src/main/assets/**/.gitkeep
!/app/src/main/assets/**/index.html

# Local configuration file (sdk path, etc)
local.properties
Expand Down
Empty file.
1 change: 1 addition & 0 deletions Android/app/src/main/assets/www/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!doctype html><html><head><meta charset="utf-8"/><link rel="shortcut icon" href="#"/><link rel="apple-touch-icon" sizes="180x180" href="assets/favicons/apple-touch-icon.png"/><link rel="icon" type="image/png" sizes="32x32" href="assets/favicons/favicon-32x32.png"/><link rel="icon" type="image/png" sizes="16x16" href="assets/favicons/favicon-16x16.png"/><link rel="manifest" href="assets/favicons/site.webmanifest"/><link rel="mask-icon" href="assets/favicons/safari-pinned-tab.svg" color="#5bbad5"/><link rel="shortcut icon" href="assets/favicons/favicon.ico"/><meta name="msapplication-config" content="assets/favicons/browserconfig.xml"/><meta name="msapplication-TileColor" content="#101010"/><meta name="theme-color" content="#101010"/><title>Magisk Module Repo Loader — MMRL</title><meta name="title" content="Magisk Module Repo Loader — MMRL"/><meta name="description" content="Introducing Magisk Module Repo Loader (MMRL) - the ultimate module manager for Magisk, KernelSU and APatch on Android. This highly configurable app allows users to manage modules effortlessly, all while being completely free of ads."/><meta property="og:type" content="website"/><meta property="og:url" content="https://mmrl.dergoogler.com"/><meta property="og:title" content="Magisk Module Repo Loader — MMRL"/><meta property="og:description" content="Introducing Magisk Module Repo Loader (MMRL) - the ultimate module manager for Magisk, KernelSU and APatch on Android. This highly configurable app allows users to manage modules effortlessly, all while being completely free of ads."/><meta property="og:image" content="assets/MMRL-Cover.png"/><meta property="twitter:card" content="summary_large_image"/><meta property="twitter:url" content="https://mmrl.dergoogler.com"/><meta property="twitter:title" content="Magisk Module Repo Loader — MMRL"/><meta property="twitter:description" content="Introducing Magisk Module Repo Loader (MMRL) - the ultimate module manager for Magisk, KernelSU and APatch on Android. This highly configurable app allows users to manage modules effortlessly, all while being completely free of ads."/><meta property="twitter:image" content="assets/MMRL-Cover.png"/><meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no,interactive-widget=resizes-content"/><link href="bundle/app.bundle.css?4d50a6a37eef74a90b2a" rel="stylesheet"/></head><body><script defer="defer" src="bundle/vendor.4d50a6a37eef74a90b2a.js?4d50a6a37eef74a90b2a"></script><script defer="defer" src="bundle/app.4d50a6a37eef74a90b2a.js?4d50a6a37eef74a90b2a"></script><script defer="defer" src="bundle/cordova.4d50a6a37eef74a90b2a.js?4d50a6a37eef74a90b2a"></script><script defer="defer" src="bundle/cordova_plugins.4d50a6a37eef74a90b2a.js?4d50a6a37eef74a90b2a"></script><script defer="defer" src="bundle/cordova-js-src.4d50a6a37eef74a90b2a.js?4d50a6a37eef74a90b2a"></script><script defer="defer" src="bundle/c-plugins.4d50a6a37eef74a90b2a.js?4d50a6a37eef74a90b2a"></script></body></html>
Empty file removed Browser/.gitkeep
Empty file.
38 changes: 38 additions & 0 deletions Website/app/app.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<link rel="shortcut icon" href="#" />
<link rel="apple-touch-icon" sizes="180x180" href="assets/favicons/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="assets/favicons/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="assets/favicons/favicon-16x16.png" />
<link rel="manifest" href="assets/favicons/site.webmanifest" />
<link rel="mask-icon" href="assets/favicons/safari-pinned-tab.svg" color="#5bbad5" />
<link rel="shortcut icon" href="assets/favicons/favicon.ico" />
<meta name="msapplication-config" content="assets/favicons/browserconfig.xml" />
<meta name="msapplication-TileColor" content="#101010" />
<meta name="theme-color" content="#101010" />

<!-- Primary Meta Tags -->
<title><%= htmlWebpackPlugin.options.opt.title %></title>
<meta name="title" content="<%= htmlWebpackPlugin.options.opt.title %>" />
<meta name="description" content="<%= htmlWebpackPlugin.options.opt.description %>" />

<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content="<%= htmlWebpackPlugin.options.opt.url %>" />
<meta property="og:title" content="<%= htmlWebpackPlugin.options.opt.title %>" />
<meta property="og:description" content="<%= htmlWebpackPlugin.options.opt.description %>" />
<meta property="og:image" content="<%= htmlWebpackPlugin.options.opt.cover %>" />

<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="<%= htmlWebpackPlugin.options.opt.url %>" />
<meta property="twitter:title" content="<%= htmlWebpackPlugin.options.opt.title %>" />
<meta property="twitter:description" content="<%= htmlWebpackPlugin.options.opt.description %>" />
<meta property="twitter:image" content="<%= htmlWebpackPlugin.options.opt.cover %>" />

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, interactive-widget=resizes-content" />
</head>
<body></body>
</html>
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
cordova.define("cordova/plugin_list", function (require, exports, module) {
module.exports = [
const plugins = [
{
file: "plugins/com.dergoogler.plugin/www/chooser.js",
id: "com.dergoogler.plugin.chooser",
clobbers: ["__chooser__"],
},
{
file: "plugins/com.dergoogler.plugin/www/fetch.js",
id: "com.dergoogler.plugin.fetch",
clobbers: ["fetch"],
},
{
file: "plugins/com.dergoogler.plugin/www/terminal.js",
id: "com.dergoogler.plugin.terminal",
clobbers: ["__terminal__"],
},
];

module.exports = plugins.map((plugin) => ({ file: "bundle/c-plugins.js", ...plugin }));
});
File renamed without changes.
File renamed without changes.
File renamed without changes.
65 changes: 0 additions & 65 deletions Website/assetfix.js

This file was deleted.

Loading

0 comments on commit 02f9e1b

Please sign in to comment.