2 lines
1.8 KiB
JavaScript
2 lines
1.8 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-11e7bc78"],{"63ee":function(t,e,a){"use strict";a("ca01")},"67f8":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"content"},[a("div",{staticClass:"header"},[a("div",{staticClass:"title"},[t._v(" "+t._s(t.game.title)+" ")]),t._v(" Game Settings ")]),a("div",{staticClass:"header"},[t._v(" Game Path ")]),a("div",{staticClass:"filePath"},[a("div",{staticClass:"text"},[t._v(" "+t._s(t.path)+" ")]),a("div",{staticClass:"button clickable",on:{click:function(e){return t.setGameDir()}}},[t._v(" Select Dir ")])]),a("div",{staticClass:"header"},[t._v(" Steam ")]),a("div",{staticClass:"verify"},[a("div",{staticClass:"button clickable",on:{click:function(e){return t.verifySteam()}}},[t._v(" Verify Ownership ")])])])])},s=[],n=a("5530"),c=(a("7db0"),a("d3b7"),a("2f62")),r=a("9193"),h={data:function(){return{gamePath:null}},computed:Object(n["a"])(Object(n["a"])({},Object(c["b"])({user:"authentication/user",gameTag:"ui/peekInfo"})),{},{game:function(){return r["a"].find(this.gameTag)},path:function(){var t=38,e=this.gamePath;if(e&&e.length>t){var a=e.length-t,i=e?Math.floor(.45*a):0;return"..."+e.substr(i)}return e}}),mounted:function(){this.refreshGamePath()},methods:{setGameDir:function(){var t=this;this.$store.dispatch("entities/games/selectDir",this.gameTag).then((function(e){t.gamePath=e||t.gamePath}))},refreshGamePath:function(){this.gamePath=launcherGetGameFolder(this.gameTag)},verifySteam:function(){this.$store.dispatch("entities/games/verifyOwnership",this.gameTag)}}},u=h,l=(a("63ee"),a("2877")),o=Object(l["a"])(u,i,s,!1,null,"e0882984",null);e["default"]=o.exports},ca01:function(t,e,a){}}]);
|
|
//# sourceMappingURL=chunk-11e7bc78.2d0f245a.js.map
|