pinokiod 1.2.45 → 1.2.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,6 +2,7 @@ const axios = require('axios')
2
2
  const fakeUa = require('fake-useragent');
3
3
  axios.defaults.headers.common['User-Agent'] = fakeUa()
4
4
  module.exports = async (req, ondata, kernel) => {
5
+ console.log("net req", req)
5
6
  const response = await axios(req.params)
6
7
  return response.data
7
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "1.2.45",
3
+ "version": "1.2.47",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -20,6 +20,21 @@
20
20
  <link href="/electron.css" rel="stylesheet"/>
21
21
  <% } %>
22
22
  <style>
23
+ #menu i {
24
+ display: block;
25
+ }
26
+ #menu img {
27
+ display: none;
28
+ height: 50px;
29
+ object-fit: contain;
30
+ border-radius: 5px;
31
+ }
32
+ #menu.margin i {
33
+ display: none;
34
+ }
35
+ #menu.margin img {
36
+ display: block;
37
+ }
23
38
  html, body {
24
39
  width: 100%;
25
40
  height: 100%;
@@ -516,7 +531,10 @@ body.dark .loader-container {
516
531
  <nav>
517
532
  <div class='hidden bar'>
518
533
  <button class='btn2' id='menu-mobile'><i class="fa-solid fa-bars"></i></button>
519
- <button class='btn2' id='menu'><i class="fa-solid fa-bars"></i></button>
534
+ <button class='btn2' id='menu'>
535
+ <img src="<%=rawpath%>/<%=config.icon%>?raw=true"/>
536
+ <i class="fa-solid fa-arrow-right-to-bracket fa-rotate-180"></i>
537
+ </button>
520
538
  <% if (agent === "electron") { %>
521
539
  <button class='btn2' id='back'><i class="fa-solid fa-arrow-left"></i></button>
522
540
  <button class='btn2' id='forward'><i class="fa-solid fa-arrow-right"></i></button>