Skip to content

Commit

Permalink
update build
Browse files Browse the repository at this point in the history
  • Loading branch information
wrrwrr111 committed Apr 6, 2021
1 parent c2d24cb commit aee67c2
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 13 deletions.
12 changes: 6 additions & 6 deletions build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"files": {
"main.css": "/pretty-derby/static/css/main.48a2c336.chunk.css",
"main.js": "/pretty-derby/static/js/main.f6d5f91b.chunk.js",
"main.js.map": "/pretty-derby/static/js/main.f6d5f91b.chunk.js.map",
"runtime-main.js": "/pretty-derby/static/js/runtime-main.68bbb717.js",
"runtime-main.js.map": "/pretty-derby/static/js/runtime-main.68bbb717.js.map",
"main.js": "/pretty-derby/static/js/main.89e3af86.chunk.js",
"main.js.map": "/pretty-derby/static/js/main.89e3af86.chunk.js.map",
"runtime-main.js": "/pretty-derby/static/js/runtime-main.22a90431.js",
"runtime-main.js.map": "/pretty-derby/static/js/runtime-main.22a90431.js.map",
"static/css/2.e28b2c09.chunk.css": "/pretty-derby/static/css/2.e28b2c09.chunk.css",
"static/js/2.2bd15969.chunk.js": "/pretty-derby/static/js/2.2bd15969.chunk.js",
"static/js/2.2bd15969.chunk.js.map": "/pretty-derby/static/js/2.2bd15969.chunk.js.map",
Expand All @@ -15,10 +15,10 @@
"static/media/index.less": "/pretty-derby/static/media/index.e998c2a4.less"
},
"entrypoints": [
"static/js/runtime-main.68bbb717.js",
"static/js/runtime-main.22a90431.js",
"static/css/2.e28b2c09.chunk.css",
"static/js/2.2bd15969.chunk.js",
"static/css/main.48a2c336.chunk.css",
"static/js/main.f6d5f91b.chunk.js"
"static/js/main.89e3af86.chunk.js"
]
}
2 changes: 2 additions & 0 deletions build/extract_card_assets.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ def extract_img_assets(db, dat_path, output_path, query, skip_existing):
# TODO better filter
if ('thumb' in data.name or 'tex' in data.name) and img.width == img.height:
img = img.resize((int(img.width * 3 / 4), img.height))
if ('chr_icon' in data.name):
img = img.resize((int(img.width), int(img.height*23/21)))
img.save(out_file_path)


Expand Down
2 changes: 1 addition & 1 deletion build/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="https://cdn.jsdelivr.net/gh/wrrwrr111/pretty-derby/public/pd.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="赛马娘 by八哲"/><link rel="manifest" href="https://cdn.jsdelivr.net/gh/wrrwrr111/pretty-derby/public/manifest.json"/><title>乌拉拉大胜利 - 赛马娘资料站</title><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"/><script src="https://as.alipayobjects.com/g/component/fastclick/1.0.6/fastclick.js"></script><script>"addEventListener"in document&&document.addEventListener("DOMContentLoaded",(function(){FastClick.attach(document.body)}),!1),window.Promise||document.writeln('<script src="https://as.alipayobjects.com/g/component/es6-promise/3.2.2/es6-promise.min.js"><\/script>')</script><script data-ad-client="ca-pub-8175375243959470" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script><link href="https://cdn.jsdelivr.net/gh/wrrwrr111@master/pretty-derby/build/static/css/2.e28b2c09.chunk.css" rel="stylesheet"><link href="https://cdn.jsdelivr.net/gh/wrrwrr111@master/pretty-derby/build/static/css/main.48a2c336.chunk.css" rel="stylesheet"></head><body><noscript></noscript><div id="root"></div><script>!function(e){function r(r){for(var n,l,i=r[0],a=r[1],p=r[2],f=0,s=[];f<i.length;f++)l=i[f],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(c&&c(r);s.length;)s.shift()();return u.push.apply(u,p||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,i=1;i<t.length;i++){var a=t[i];0!==o[a]&&(n=!1)}n&&(u.splice(r--,1),e=l(l.s=t[0]))}return e}var n={},o={1:0},u=[];function l(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=e,l.c=n,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,r){if(1&r&&(e=l(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)l.d(t,n,function(r){return e[r]}.bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="https://cdn.jsdelivr.net/gh/wrrwrr111@master/pretty-derby/build/";var i=this["webpackJsonprace-girl"]=this["webpackJsonprace-girl"]||[],a=i.push.bind(i);i.push=r,i=i.slice();for(var p=0;p<i.length;p++)r(i[p]);var c=a;t()}([])</script><script src="https://cdn.jsdelivr.net/gh/wrrwrr111@master/pretty-derby/build/static/js/2.2bd15969.chunk.js"></script><script src="https://cdn.jsdelivr.net/gh/wrrwrr111@master/pretty-derby/build/static/js/main.f6d5f91b.chunk.js"></script></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="https://cdn.jsdelivr.net/gh/wrrwrr111/pretty-derby/public/pd.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="赛马娘 by八哲"/><link rel="manifest" href="https://cdn.jsdelivr.net/gh/wrrwrr111/pretty-derby/public/manifest.json"/><title>乌拉拉大胜利 - 赛马娘资料站</title><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"/><script src="https://as.alipayobjects.com/g/component/fastclick/1.0.6/fastclick.js"></script><script>"addEventListener"in document&&document.addEventListener("DOMContentLoaded",(function(){FastClick.attach(document.body)}),!1),window.Promise||document.writeln('<script src="https://as.alipayobjects.com/g/component/es6-promise/3.2.2/es6-promise.min.js"><\/script>')</script><script data-ad-client="ca-pub-8175375243959470" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script><link href="https://cdn.jsdelivr.net/gh/wrrwrr111/pretty-derby@master/build/static/css/2.e28b2c09.chunk.css" rel="stylesheet"><link href="https://cdn.jsdelivr.net/gh/wrrwrr111/pretty-derby@master/build/static/css/main.48a2c336.chunk.css" rel="stylesheet"></head><body><noscript></noscript><div id="root"></div><script>!function(e){function r(r){for(var n,l,i=r[0],a=r[1],p=r[2],f=0,s=[];f<i.length;f++)l=i[f],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(c&&c(r);s.length;)s.shift()();return u.push.apply(u,p||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,i=1;i<t.length;i++){var a=t[i];0!==o[a]&&(n=!1)}n&&(u.splice(r--,1),e=l(l.s=t[0]))}return e}var n={},o={1:0},u=[];function l(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=e,l.c=n,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,r){if(1&r&&(e=l(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)l.d(t,n,function(r){return e[r]}.bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="https://cdn.jsdelivr.net/gh/wrrwrr111/pretty-derby@master/build/";var i=this["webpackJsonprace-girl"]=this["webpackJsonprace-girl"]||[],a=i.push.bind(i);i.push=r,i=i.slice();for(var p=0;p<i.length;p++)r(i[p]);var c=a;t()}([])</script><script src="https://cdn.jsdelivr.net/gh/wrrwrr111/pretty-derby@master/build/static/js/2.2bd15969.chunk.js"></script><script src="https://cdn.jsdelivr.net/gh/wrrwrr111/pretty-derby@master/build/static/js/main.89e3af86.chunk.js"></script></body></html>

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions build/static/js/main.89e3af86.chunk.js.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion build/static/js/main.f6d5f91b.chunk.js.map

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

0 comments on commit aee67c2

Please sign in to comment.