{"id":2640,"date":"2019-12-05T16:02:06","date_gmt":"2019-12-05T07:02:06","guid":{"rendered":"http:\/\/kuuur.net\/?p=2640"},"modified":"2019-12-05T16:15:23","modified_gmt":"2019-12-05T07:15:23","slug":"rpgbat","status":"publish","type":"post","link":"https:\/\/kuuur.net\/?p=2640","title":{"rendered":"RPG\u30c4\u30af\u30fc\u30ebMV\uff1a\u30c7\u30d7\u30ed\u30a4\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092Cordova\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u79fb\u3057\u3066Android\u7aef\u672b\u3067\u52d5\u4f5c\u78ba\u8a8d\u3059\u308b\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u3092\u3064\u304f\u308b"},"content":{"rendered":"<p>RPG\u30c4\u30af\u30fc\u30ebMV\u3067\u3064\u304f\u3063\u305f\u30b2\u30fc\u30e0\u3092\u30c7\u30d7\u30ed\u30a4\u3059\u308b\u3068\u3001www\u30d5\u30a9\u30eb\u30c0\u304c\u751f\u6210\u3055\u308c\u307e\u3059\u3002<br \/>\n\u3053\u306ewww\u30d5\u30a9\u30eb\u30c0\u3092Cordova\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306ewww\u30d5\u30a9\u30eb\u30c0\u306b\u30b3\u30d4\u30fc\u3059\u308b\u3068\u3001Android\u7aef\u672b\u3067\u52d5\u4f5c\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>RPG\u30c4\u30af\u30fc\u30ebMV\u3067\u3064\u304f\u3063\u305f\u30b2\u30fc\u30e0\u3092Android\u30b9\u30de\u30db\u3067\u52d5\u4f5c\u3055\u305b\u308b\u305f\u3081\u306b\u5fc5\u8981\u306a\u624b\u9806\u3068\u3057\u3066\u3001\u300cRPG\u30c4\u30af\u30fc\u30ebMV\u3067\u30c7\u30d7\u30ed\u30a4\u300d\u2192\u300cCordova\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u30b3\u30d4\u30fc\u300d\u2192\u300cAndroid\u30b9\u30de\u30db\u306b\u8ee2\u9001\u300d\u3068\u3044\u3046\u51e6\u7406\u3092\u624b\u52d5\u3067\u6bce\u56de\u884c\u3046\u306e\u304c\u9762\u5012\u3060\u3063\u305f\u305f\u3081\u3001\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306b\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<h2>bat\u30d5\u30a1\u30a4\u30eb\u3092\u3064\u304f\u308b<\/h2>\n<p>\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304d\u3001\u4ee5\u4e0b\u3092\u5165\u529b\u3057\u3066\u3001\u300c.bat\u300d\u3067\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/p>\n<div class=\"source\">@echo off<br \/>\nset deploy_dir=c:\\users\\xxx\\desktop\\depl\\project\\www<br \/>\nset copy_dir=c:\\cordova\\test\\www<br \/>\nset cordova_project=c:\\cordova\\test<br \/>\nset \/p answer=&#8221;\u30c7\u30d7\u30ed\u30a4\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092Cordova\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u79fb\u3057\u307e\u3059\u304b\uff1f\uff08y\/n\uff09&#8221;<br \/>\nif \/i {%answer%}=={y} (goto :firstbat) else (goto :secondbat)<br \/>\n:firstbat<br \/>\nrd \/s \/q %copy_dir%<br \/>\nmkdir %copy_dir%<br \/>\nxcopy %deploy_dir% %copy_dir% \/i \/s<br \/>\n:secondbat<br \/>\nset \/p answer=&#8221;Android\u7aef\u672b\u3067\u52d5\u4f5c\u78ba\u8a8d\u3057\u307e\u3059\u304b\uff1f\uff08y\/n\uff09&#8221;<br \/>\nif \/i {%answer%}=={y} (goto :yes)<br \/>\nexit<br \/>\n:yes<br \/>\ncd %cordova_project%<br \/>\ncordova run android<br \/>\nexit<\/div>\n<p>1\u884c\u76ee\u300c@echo off\u300d\u306f\u3001\u30b3\u30de\u30f3\u30c9\u3092\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u753b\u9762\u306b\u8868\u793a\u3057\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u3001\u3068\u3044\u3046\u610f\u5473\u3067\u3059\u3002<br \/>\n2\uff5e4\u884c\u76ee\u306e\u300cset\u300d\u306f\u5909\u6570\u306b\u5024\u3092\u5165\u308c\u308b\u3001\u3068\u3044\u3046\u610f\u5473\u3067\u3059\u3002<br \/>\n\u3053\u306e\u5834\u5408\u306f\u3001deploy_dir\u306bRPG\u30c4\u30af\u30fc\u30ebMV\u3067\u30c7\u30d7\u30ed\u30a4\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u306ewww\u30d5\u30a9\u30eb\u30c0\u307e\u3067\u306e\u30d1\u30b9\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<br \/>\ncopy_dir\u306bCordova\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306ewww\u30d5\u30a9\u30eb\u30c0\u307e\u3067\u306e\u30d1\u30b9\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<br \/>\ncordova_project\u306bCordova\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30d5\u30a9\u30eb\u30c0\u307e\u3067\u306e\u30d1\u30b9\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<br \/>\n\u5909\u6570\u306b\u4ee3\u5165\u3057\u305f\u5024\u3092\u4f7f\u3046\u5834\u5408\u306b\u306f%\u5909\u6570\u540d%\u3068\u66f8\u3044\u3066\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<p>5\u884c\u76ee\u300cset \/p answer=&#8221;\uff0a\uff0a\uff0a&#8221;\u300d\u306f\u3001\u300c\/p\u300d\u304c\u5165\u529b\u3092\u53d7\u3051\u4ed8\u3051\u308b\u3001\u3068\u3044\u3046\u610f\u5473\u3067\u3001\u7d9a\u304fanswer\u306b\u5165\u529b\u3057\u305f\u5024\u304c\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<br \/>\n6\u884c\u76ee\u300cif \/i {%answer%}=={y} (goto :firstbat) else (goto :secondbat)\u300d\u306f\u3001\u5165\u529b\u3057\u305f\u5185\u5bb9\u304cy\u306a\u3089\u3070\u3001:firstbat\u3068\u66f8\u3044\u305f\u884c\u306b\u30b8\u30e3\u30f3\u30d7\u3001\u305d\u3046\u3067\u306a\u3044\u306a\u3089\u3070:secondbat\u3068\u66f8\u3044\u305f\u884c\u306b\u30b8\u30e3\u30f3\u30d7\u3059\u308b\u3068\u3044\u3046\u5185\u5bb9\u3067\u3059\u3002<br \/>\n8\u884c\u76ee\u300crd \/s \/q %copy_dir%\u300d\u306f\u3001c\u30c9\u30e9\u30a4\u30d6\u4ee5\u4e0b\u306ecordova\\test\\\u4ee5\u4e0b\u306ewww\u30d5\u30a9\u30eb\u30c0\u3092\u524a\u9664\u3059\u308b\u3068\u3044\u3046\u610f\u5473\u3067\u3059\u3002<br \/>\n9\u884c\u76ee\u300cmkdir %copy_dir%\u300d\u306f\u7a7a\u306ewww\u30d5\u30a9\u30eb\u30c0\u3092\u540c\u3058\u5834\u6240\u306b\u3064\u304f\u308a\u307e\u3059\u3002<br \/>\n10\u884c\u76ee\u300cxcopy %deploy_dir% %copy_dir% \/i \/s\u300d\u306f\u3001\u300cc:\\user\\xxx\\desktop\\depl\\project\\www\u300d\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u3068\u30d5\u30a9\u30eb\u30c0\u3092\u3001\u300cc:\\cordova\\test\\www\u300d\u30d5\u30a9\u30eb\u30c0\u306b\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002<br \/>\n\/i\u306f\u3001\u30b3\u30d4\u30fc\u5148\u306b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff08\u30d5\u30a9\u30eb\u30c0\uff09\u304c\u306a\u3044\u5834\u5408\u306b\u306f\u65b0\u898f\u4f5c\u6210\u3059\u308b\u3001\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u3059\u3002<br \/>\n\/s\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u304c\u5b58\u5728\u3059\u308b\u5834\u5408\u306b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3054\u3068\u30b3\u30d4\u30fc\u3059\u308b\u3001\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u3059\u3002<br \/>\n12\uff5e13\u884c\u76ee\u306f\u30012\uff5e3\u884c\u76ee\u3068\u540c\u69d8\u306b\u3001\u5165\u529b\u3055\u308c\u305f\u5024\u304cy\u306a\u3089\u3070\u300c:yes\u300d\u306e\u884c\u306b\u30b8\u30e3\u30f3\u30d7\u3057\u307e\u3059\u3002\u305d\u3046\u3067\u306a\u3044\u5834\u5408\u306fexit\uff08\u7d42\u4e86\uff09\u3057\u307e\u3059\u3002<br \/>\n16\u884c\u76ee\u300ccd %cordova_project%\u300d\u306f\u3001\u30ab\u30ec\u30f3\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092c:\\cordova\\test\u306b\u5909\u66f4\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n17\u884c\u76ee\u300ccordova run android\u300d\u306f\u3001Android\u7aef\u672b\u306bCordova\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u8ee2\u9001\u3057\u307e\u3059\u3002<\/p>\n<p>\u4f7f\u3046\u5834\u5408\u306b\u306f\u6700\u521d\u306e3\u3064\u306e\u5909\u6570\u306e\u5024\u3092\u4fee\u6b63\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>RPG\u30c4\u30af\u30fc\u30ebMV\u3067\u3064\u304f\u3063\u305f\u30b2\u30fc\u30e0\u3092\u30c7\u30d7\u30ed\u30a4\u3059\u308b\u3068\u3001www\u30d5\u30a9\u30eb\u30c0\u304c\u751f\u6210\u3055\u308c\u307e\u3059\u3002 \u3053\u306ewww\u30d5\u30a9\u30eb\u30c0\u3092Cordova\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306ewww\u30d5\u30a9\u30eb\u30c0\u306b\u30b3\u30d4\u30fc\u3059\u308b\u3068\u3001Android\u7aef\u672b\u3067\u52d5\u4f5c\u3055\u305b\u308b\u3053\u3068\u304c\u3067&#8230;<span class=\"continue\"><a href=\"https:\/\/kuuur.net\/?p=2640\">\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[35,10],"tags":[],"class_list":["post-2640","post","type-post","status-publish","format-standard","hentry","category-rpgmaker","category-software"],"views":4204,"_links":{"self":[{"href":"https:\/\/kuuur.net\/index.php?rest_route=\/wp\/v2\/posts\/2640","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kuuur.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kuuur.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kuuur.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kuuur.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2640"}],"version-history":[{"count":1,"href":"https:\/\/kuuur.net\/index.php?rest_route=\/wp\/v2\/posts\/2640\/revisions"}],"predecessor-version":[{"id":2641,"href":"https:\/\/kuuur.net\/index.php?rest_route=\/wp\/v2\/posts\/2640\/revisions\/2641"}],"wp:attachment":[{"href":"https:\/\/kuuur.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2640"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kuuur.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2640"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kuuur.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2640"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}