소스 검색

mod:打包压缩 配置

panqiuyao 10 달 전
부모
커밋
469eab1884

+ 2 - 1
.gitignore

@@ -9,4 +9,5 @@ data/
 public/electron/
 pnpm-lock.yaml
 build/extraResources/py/*
-*.log
+*.log
+python/venv/

+ 2 - 0
electron/config/builder.json

@@ -11,9 +11,11 @@
   ],
   "files": [
     "**/*",
+    "dev-app-update.yml",
     "!frontend/",
     "!run/",
     "!logs/",
+    "!python/",
     "!data/"
   ],
   "extraResources": {

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "tkk",
-  "version": "1.2.2",
+  "version": "1.2.31",
   "description": "图扣扣,AI图片处理,图片编辑智能修图,在线图片优化,自动抠图,图片背景移除,照片美化,批量图片处理,高清图片还原,创意图片合成",
   "main": "main.js",
   "scripts": {

+ 0 - 1
public/dist/assets/Index-630507e4.js

@@ -1 +0,0 @@
-import{_ as a,o as t,c as s,a as e}from"./index-94991f0a.js";const o={data:()=>({})},c={id:"hero"},n=[e('<h1 class="tagline" data-v-505540b8><span class="accent" data-v-505540b8>Electron-Egg</span></h1><p class="description" data-v-505540b8> A fast, desktop software development framework </p><p class="actions" data-v-505540b8><a class="setup" href="https://www.kaka996.com/" target="_blank" data-v-505540b8>Get Started</a></p>',3)];const d=a(o,[["render",function(a,e,o,d,r,p){return t(),s("section",c,n)}],["__scopeId","data-v-505540b8"]]);export{d as default};

+ 0 - 1
public/dist/assets/Index-812274cb.css

@@ -1 +0,0 @@
-section[data-v-505540b8]{padding:42px 32px}#hero[data-v-505540b8]{padding:150px 32px;text-align:center;height:100%}.tagline[data-v-505540b8]{font-size:52px;line-height:1.25;font-weight:700;letter-spacing:-1.5px;max-width:960px;margin:0 auto}html:not(.dark) .accent[data-v-505540b8],.dark .tagline[data-v-505540b8]{background:-webkit-linear-gradient(315deg,#42d392 25%,#647eff);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}.description[data-v-505540b8]{max-width:960px;line-height:1.5;color:var(--vt-c-text-2);transition:color .5s;font-size:22px;margin:24px auto 40px}.actions a[data-v-505540b8]{font-size:16px;display:inline-block;background-color:var(--vt-c-bg-mute);padding:8px 18px;font-weight:500;border-radius:8px;transition:background-color .5s,color .5s;text-decoration:none}.actions .setup[data-v-505540b8]{color:var(--vt-c-text-code);background:-webkit-linear-gradient(315deg,#42d392 25%,#647eff)}.actions .setup[data-v-505540b8]:hover{background-color:var(--vt-c-gray-light-4);transition-duration:.2s}

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
public/dist/assets/index-94991f0a.js


+ 0 - 1
public/dist/assets/index-b7b2ffb7.css

@@ -1 +0,0 @@
-#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;color:#2c3e50;height:100%}

+ 0 - 107
public/dist/index.html

@@ -1,107 +0,0 @@
-<!DOCTYPE html>
-<html lang="zh-CN">
-  <head>
-    <meta charset="utf-8">
-    <meta http-equiv="X-UA-Compatible" content="IE=edge">
-    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, maximum-scale=1.0, minimum-scale=1.0" />
-    <title></title>
-    <!-- 优化:vue渲染未完成之前,先加一个css动画 -->
-    <style>
-      #loadingPage {
-        background-color: #dedede;
-        font-size: 12px;
-      }
-      .base {
-        height: 9em;
-        left: 50%;
-        margin: -7.5em;
-        padding: 3em;
-        position: absolute;
-        top: 50%;
-        width: 9em;
-        transform: rotateX(45deg) rotateZ(45deg);
-        transform-style: preserve-3d;
-      }
-      .cube,
-      .cube:after,
-      .cube:before {
-        content: '';
-        float: left;
-        height: 3em;
-        position: absolute;
-        width: 3em;
-      }
-      /* Top */
-      .cube {
-        background-color: #06cf68;
-        position: relative;
-        transform: translateZ(3em);
-        transform-style: preserve-3d;
-        transition: .25s;
-        box-shadow: 13em 13em 1.5em rgba(0, 0, 0, 0.1);
-        animation: anim 1s infinite;
-      }
-      .cube:after {
-        background-color: #05a151;
-        transform: rotateX(-90deg) translateY(3em);
-        transform-origin: 100% 100%;
-      }
-      .cube:before {
-        background-color: #026934;
-        transform: rotateY(90deg) translateX(3em);
-        transform-origin: 100% 0;
-      }
-      .cube:nth-child(1) {
-        animation-delay: 0.05s;
-      }
-      .cube:nth-child(2) {
-        animation-delay: 0.1s;
-      }
-      .cube:nth-child(3) {
-        animation-delay: 0.15s;
-      }
-      .cube:nth-child(4) {
-        animation-delay: 0.2s;
-      }
-      .cube:nth-child(5) {
-        animation-delay: 0.25s;
-      }
-      .cube:nth-child(6) {
-        animation-delay: 0.3s;
-      }
-      .cube:nth-child(7) {
-        animation-delay: 0.35s;
-      }
-      .cube:nth-child(8) {
-        animation-delay: 0.4s;
-      }
-      .cube:nth-child(9) {
-        animation-delay: 0.45s;
-      }
-      @keyframes anim {
-        50% {
-          transform: translateZ(0.5em);
-        }
-      }
-    </style>
-    <script type="module" crossorigin src="./assets/index-94991f0a.js"></script>
-    <link rel="stylesheet" href="./assets/index-b7b2ffb7.css">
-  </head>
-  <body>
-    <div id="loadingPage">
-      <div class='base'>
-        <div class='cube'></div>
-        <div class='cube'></div>
-        <div class='cube'></div>
-        <div class='cube'></div>
-        <div class='cube'></div>
-        <div class='cube'></div>
-        <div class='cube'></div>
-        <div class='cube'></div>
-        <div class='cube'></div>
-      </div>
-    </div>
-    <div id="app"></div>
-    
-  </body>
-</html>

+ 0 - 94
public/html/loading.html

@@ -1,94 +0,0 @@
-<!DOCTYPE html>
-<html lang="zh-CN">
-  <head>
-    <meta charset="utf-8">
-    <meta http-equiv="X-UA-Compatible" content="IE=edge">
-    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, maximum-scale=1.0, minimum-scale=1.0" />
-    <style>
-      #loadingPage {
-        background-color: #dedede;
-        font-size: 12px;
-      }
-      .base {
-        left: 50%;
-        position: absolute;
-        top: 50%;
-        transform: translate(-50%, -50%);
-      }
-      .desc {
-        margin: 0, 0, 20px, 0;
-      }
-      .loading,
-      .loading > div {
-        position: relative;
-        box-sizing: border-box;
-      }
-      .loading {
-        display: block;
-        font-size: 0;
-        color: #06b359;
-      }
-      .loading.la-dark {
-        color: #07C160;
-      }
-      .loading > div {
-        display: inline-block;
-        float: none;
-        background-color: currentColor;
-        border: 0 solid currentColor;
-      }
-      .loading {
-        width: 92px;
-        height: 92px;
-      }
-      .loading > div {
-        position: absolute;
-        top: 50%;
-        left: 50%;
-        background: transparent;
-        border-style: solid;
-        border-width: 2px;
-        border-radius: 100%;
-        animation: ball-clip-rotate-multiple-rotate 1s ease-in-out infinite;
-      }
-      .loading > div:first-child {
-        position: absolute;
-        width: 92px;
-        height: 92px;
-        border-right-color: transparent;
-        border-left-color: transparent;
-      }
-      .loading > div:last-child {
-        width: 16px;
-        height: 16px;
-        border-top-color: transparent;
-        border-bottom-color: transparent;
-        animation-duration: 0.5s;
-        animation-direction: reverse;
-      }
-      @keyframes ball-clip-rotate-multiple-rotate {
-        0% {
-          transform: translate(-50%, -50%) rotate(0deg);
-        }
-
-        50% {
-          transform: translate(-50%, -50%) rotate(180deg);
-        }
-
-        100% {
-          transform: translate(-50%, -50%) rotate(360deg);
-        }
-      }
-    </style>
-  </head>
-  <body>
-    <div id="boot">
-      <div class='base'>
-        <div class="loading">
-          <div></div>
-          <div></div>
-        </div>
-      </div>
-    </div>
-  </body>
-</html>

+ 0 - 22
public/html/view_example.html

@@ -1,22 +0,0 @@
-<html>
- <head> 
-  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
-  <style type="text/css">
-    body{
-      margin:0px auto;
-    }
-    #content {
-      position: absolute;
-      left: 50%;
-      top: 35%;
-      transform: translate(-50%, -50%);
-    }
-  </style> 
-  <title></title> 
- </head> 
- <body> 
-  <div id="content">
-    这是一个html页面
-  </div>  
- </body>
-</html>

BIN
public/images/example/aw-3.png


BIN
public/images/example/ee-mac-home.png


BIN
public/images/example/ee-project-7.png


BIN
public/images/example/ee-win-home.png


BIN
public/images/example/ee-zs.png


BIN
public/images/example/ee_game_1.png


BIN
public/images/example/fm-p1.png


BIN
public/images/example/fm-p2.png


BIN
public/images/example/fm-p4.png


BIN
public/images/example/im-p1.png


BIN
public/images/example/im-p5.png


BIN
public/images/example/im2-p1.png


BIN
public/images/example/lol-zhanji.png


BIN
public/images/example/rq-1.png


BIN
public/images/example/rq-2.png


BIN
public/images/example/ubuntu-db.png


BIN
public/images/example/uos-home.png


BIN
public/images/example/v3-home.png


BIN
public/images/example/vue-antd.png


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.