{"id":121,"date":"2014-10-25T23:46:06","date_gmt":"2014-10-25T21:46:06","guid":{"rendered":"http:\/\/colobot.info\/wordpress\/?page_id=121"},"modified":"2024-08-29T11:30:03","modified_gmt":"2024-08-29T09:30:03","slug":"download-colobot-gold","status":"publish","type":"page","link":"https:\/\/colobot.info\/pl\/download-colobot-gold-edition\/","title":{"rendered":"Pobierz Colobot: Gold Edition"},"content":{"rendered":"<p>Tutaj mo\u017cesz pobra\u0107 najnowsz\u0105 wersj\u0119 <a title=\"Colobot: Gold Edition\" href=\"http:\/\/colobot.info\/pl\/colobot-gold-edition\/\">Colobot: Gold Edition<\/a><br \/>\n<div id=\"download-gold\">\n\t<div class=\"select\" id=\"select-branch\">\n\t\t<table><tr>\n\t\t\t<td class=\"option\" id=\"select-branch-master\">\n\t\t\t\tmaster<br \/><br \/>\n\t\t\t\t<span class=\"version\">0.2.2-alpha<\/span>\n\t\t\t<\/td>\n\t\t\t<td class=\"option\" id=\"select-branch-dev\">\n\t\t\t\tdev\n\t\t\t<\/td>\n\t\t<\/tr><tr>\n\t\t\t<td class=\"description\">Latest official release, older but more stable<\/td>\n\t\t\t<td class=\"description\">Ostatnia wersja z repozytorium, mo\u017ce zawiera\u0107 wi\u0119cej bug\u00f3w<\/td>\n\t\t<\/tr><\/table>\n\t<\/div>\n\t<div class=\"select\" id=\"select-os_release\" style=\"display: none;\">\n\t\t<table><tr>\n\t\t\t<td class=\"option\" id=\"select-os_release-win64\">Windows<br \/>64-bit<\/td>\n\t\t\t<td class=\"option\" id=\"select-os_release-linux-appimage-x86_64\">Linux<br \/>64-bit AppImage<\/td>\n\t\t\t<td class=\"option\" id=\"select-os_release-mac\">macOS<\/td>\n\t\t<\/tr><tr>\n\t\t\t<td class=\"description\"><\/td>\n\t\t\t<td class=\"description\"><\/td>\n\t\t\t<td class=\"description\"><\/td>\n\t\t<\/tr><\/table>\n\t<\/div>\n\t<div class=\"select\" id=\"select-ready\" style=\"display: none;\">\n\t\t<table><tr>\n\t\t\t<td class=\"option\" id=\"select-ready-start\">Rozpocznij pobieranie!<\/td>\n\t\t<\/tr><\/table>\n\t<\/div>\n\t<div class=\"select\" id=\"select-ready_dev\" style=\"display: none;\">\n\t\t<table><tr>\n\t\t\t<td class=\"option\" id=\"select-ready_dev-start\">Continue<\/td>\n\t\t<\/tr><\/table>\n\t<\/div>\n<\/div>\n<script>\n\tvar selections = {};\n\tvar visible_sections = {branch: true};\n\tfunction bind_selection_handlers(selection, options, callback) {\n\t\tvar opt_sel = \"\";\n\t\tfor(var i=0; i<options.length; i++)\n\t\t\topt_sel += (i != 0 ? \", \" : \"\")+\"#select-\"+selection+\"-\"+options[i];\n\n\t\tconsole.log(opt_sel);\n\t\tjQuery(opt_sel).on(\"click\", function(event) {\n\t\t\tvar target = event.target;\n\t\t\twhile(target.id == \"\") target = target.parentNode;\n\t\t\tvar tgt = target.id.replace(\"select-\"+selection+\"-\", \"\");\n\t\t\tselections[selection] = tgt;\n\t\t\tconsole.log(\"Selected \"+tgt+\" for \"+selection);\n\t\t\tfor(var i=0; i<options.length; i++) {\n\t\t\t\tif(options[i] == tgt) {\n\t\t\t\t\tjQuery(\"#select-\"+selection+\"-\"+options[i]).addClass(\"selected\");\n\t\t\t\t\tjQuery(\"#select-\"+selection+\"-\"+options[i]).removeClass(\"not-selected\");\n\t\t\t\t} else {\n\t\t\t\t\tjQuery(\"#select-\"+selection+\"-\"+options[i]).removeClass(\"selected\");\n\t\t\t\t\tjQuery(\"#select-\"+selection+\"-\"+options[i]).addClass(\"not-selected\");\n\t\t\t\t}\n\t\t\t}\n\t\t\tcallback(tgt);\n\t\t});\n\t}\n\tfunction start_section(section) {\n\t\tif(typeof visible_sections[section] == \"undefined\" || !visible_sections[section]) {\n\t\t\tjQuery(\"#select-\"+section).show(1000);\n\t\t\tvisible_sections[section] = true;\n\t\t}\n\t}\n\tfunction stop_section(section) {\n\t\tif(typeof visible_sections[section] != \"undefined\" && visible_sections[section]) {\n\t\t\tjQuery(\"#select-\"+section).hide(1000);\n\t\t\tvisible_sections[section] = false;\n\t\t\tdelete selections[section];\n\t\t\tjQuery(\"#select-\"+section+\" > table > tbody > tr > td.option\").removeClass(\"selected not-selected\");\n\t\t}\n\t}\n\tbind_selection_handlers(\"branch\", [\"master\", \"dev\"], function(sel) {\n\t\tif(sel == \"master\") {\n\t\t\tstart_section(\"os_release\");\n\t\t\tstop_section(\"ready_dev\");\n\t\t}\n\t\tif(sel == \"dev\") {\n\t\t\tstop_section(\"os_release\");\n\t\t\tstop_section(\"ready\");\n\t\t\tstart_section(\"ready_dev\");\n\t\t}\n\t});\n\tbind_selection_handlers(\"os_release\", [\"win64\", \"linux-appimage-x86_64\", \"mac\"], function() {\n\t\tstart_section(\"ready\");\n\t});\n\tbind_selection_handlers(\"ready_dev\", [\"start\"], function() {\n\t\tsetTimeout(function() {\n\t\t\tjQuery(\"#select-ready_dev-start\").removeClass(\"selected not-selected\");\n\t\t}, 250);\n\n\t\twindow.location = \"https:\/\/compiled.colobot.info\";\n\t});\n\tbind_selection_handlers(\"ready\", [\"start\"], function() {\n\t\tsetTimeout(function() {\n\t\t\tjQuery(\"#select-ready-start\").removeClass(\"selected not-selected\");\n\t\t}, 250);\n\n\t\tvar version = \"0.2.2-alpha\";\n\n\t\tvar filename, dl_url;\n\t\tif (selections[\"os_release\"] == \"linux-appimage-x86_64\") {\n\t\t\t\/\/filename = \"colobot-gold-\"+version+\"-linux\";\n\t\t\t\/\/dl_url = \"https:\/\/github.com\/colobot\/colobot\/blob\/master\/README.md#download-packages\";\n\t\t\tfilename = \"Colobot-\"+version+\"-x86_64.AppImage\";\n\t\t\tdl_url = \"https:\/\/colobot.info\/files\/releases\/\"+version+\"\/\"+filename;\n\t\t} else {\n\t\t\tvar ext = \"zip\";\n\t\t\t\/\/if (selections[\"os_release\"].indexOf(\"win-installer\") !== -1) ext = \"exe\";\n\t\t\t\/\/if (selections[\"os_release\"].indexOf(\"linux\") !== -1) ext = \"tar.gz\";\n\t\t\tif (selections[\"os_release\"] == \"mac\") { ext = \"dmg\"; }\n\n\t\t\tfilename = \"colobot-gold-\"+version+\"-\"+selections[\"os_release\"]+\".\"+ext;\n\t\t\tdl_url = \"https:\/\/colobot.info\/files\/releases\/\"+version+\"\/\"+filename;\n\t\t}\n\t\tga('send', 'event', 'download', filename);\n\t\t\/\/window.location = dl_url;\n    \tvar link = document.createElement('a');\n    \tlink.href = dl_url;\n    \tlink.download = filename;\n\t\tlink.type = \"octet-stream\";\n    \tlink.dispatchEvent(new MouseEvent('click'));\n\t});\n<\/script>\n<\/p>","protected":false},"excerpt":{"rendered":"<p>Tutaj mo\u017cesz pobra\u0107 najnowsz\u0105 wersj\u0119 <a title=\"Colobot: Gold Edition\" href=\"http:\/\/colobot.info\/pl\/colobot-gold-edition\/\">Colobot: Gold Edition<\/a><\/p>\n<div id=\"download-gold\">\n<div class=\"select\" id=\"select-branch\">\n<table>\n<tr>\n<td class=\"option\" id=\"select-branch-master\">\n\t\t\t\tmaster<\/p>\n<p>\t\t\t\t<span class=\"version\">0.2.2-alpha<\/span>\n\t\t\t<\/td>\n<td class=\"option\" id=\"select-branch-dev\">\n\t\t\t\tdev\n\t\t\t<\/td>\n<\/tr>\n<tr>\n<td class=\"description\">Latest official release, older but more stable<\/td>\n<td class=\"description\">Ostatnia wersja z repozytorium, mo\u017ce zawiera\u0107 wi\u0119cej bug\u00f3w<\/td>\n<\/tr>\n<\/table><\/div>\n<div class=\"select\" id=\"select-os_release\" style=\"display: none;\">\n<table>\n<tr>\n<td class=\"option\" id=\"select-os_release-win64\">Windows<br \/>64-bit<\/td>\n<td class=\"option\" id=\"select-os_release-linux-appimage-x86_64\">Linux<br \/>64-bit AppImage<\/td>\n<td class=\"option\" id=\"select-os_release-mac\">macOS<\/td>\n<\/tr>\n<tr>\n<td class=\"description\"><\/td>\n<td class=\"description\"><\/td>\n<td class=\"description\"><\/td>\n<\/tr>\n<\/table><\/div>\n<div class=\"select\" id=\"select-ready\" style=\"display: none;\">\n<table>\n<tr>\n<td class=\"option\" id=\"select-ready-start\">Rozpocznij pobieranie!<\/td>\n<\/tr>\n<\/table><\/div>\n<div class=\"select\" id=\"select-ready_dev\" style=\"display: none;\">\n<table>\n<tr>\n<td class=\"option\" id=\"select-ready_dev-start\">Continue<\/td>\n<\/tr>\n<\/table><\/div>\n<\/div>\n<p><script>\n\tvar selections = {};\n\tvar visible_sections = {branch: true};\n\tfunction bind_selection_handlers(selection, options, callback) {\n\t\tvar opt_sel = \"\";\n\t\tfor(var i=0; i<options.length; i++)\n\t\t\topt_sel += (i != 0 ? \", \" : \"\")+\"#select-\"+selection+\"-\"+options[i];\n\n\t\tconsole.log(opt_sel);\n\t\tjQuery(opt_sel).on(\"click\", function(event) {\n\t\t\tvar target = event.target;\n\t\t\twhile(target.id == \"\") target = target.parentNode;\n\t\t\tvar tgt = target.id.replace(\"select-\"+selection+\"-\", \"\");\n\t\t\tselections[selection] = tgt;\n\t\t\tconsole.log(\"Selected \"+tgt+\" for \"+selection);\n\t\t\tfor(var i=0; i<options.length; i++) {\n\t\t\t\tif(options[i] == tgt) {\n\t\t\t\t\tjQuery(\"#select-\"+selection+\"-\"+options[i]).addClass(\"selected\");\n\t\t\t\t\tjQuery(\"#select-\"+selection+\"-\"+options[i]).removeClass(\"not-selected\");\n\t\t\t\t} else {\n\t\t\t\t\tjQuery(\"#select-\"+selection+\"-\"+options[i]).removeClass(\"selected\");\n\t\t\t\t\tjQuery(\"#select-\"+selection+\"-\"+options[i]).addClass(\"not-selected\");\n\t\t\t\t}\n\t\t\t}\n\t\t\tcallback(tgt);\n\t\t});\n\t}\n\tfunction start_section(section) {\n\t\tif(typeof visible_sections[section] == \"undefined\" || !visible_sections[section]) {\n\t\t\tjQuery(\"#select-\"+section).show(1000);\n\t\t\tvisible_sections[section] = true;\n\t\t}\n\t}\n\tfunction stop_section(section) {\n\t\tif(typeof visible_sections[section] != \"undefined\" &#038;&#038; visible_sections[section]) {\n\t\t\tjQuery(\"#select-\"+section).hide(1000);\n\t\t\tvisible_sections[section] = false;\n\t\t\tdelete selections[section];\n\t\t\tjQuery(\"#select-\"+section+\" > table > tbody > tr > td.option\").removeClass(\"selected not-selected\");\n\t\t}\n\t}\n\tbind_selection_handlers(\"branch\", [\"master\", \"dev\"], function(sel) {\n\t\tif(sel == \"master\") {\n\t\t\tstart_section(\"os_release\");\n\t\t\tstop_section(\"ready_dev\");\n\t\t}\n\t\tif(sel == \"dev\") {\n\t\t\tstop_section(\"os_release\");\n\t\t\tstop_section(\"ready\");\n\t\t\tstart_section(\"ready_dev\");\n\t\t}\n\t});\n\tbind_selection_handlers(\"os_release\", [\"win64\", \"linux-appimage-x86_64\", \"mac\"], function() {\n\t\tstart_section(\"ready\");\n\t});\n\tbind_selection_handlers(\"ready_dev\", [\"start\"], function() {\n\t\tsetTimeout(function() {\n\t\t\tjQuery(\"#select-ready_dev-start\").removeClass(\"selected not-selected\");\n\t\t}, 250);<\/p>\n<p>\t\twindow.location = \"https:\/\/compiled.colobot.info\";\n\t});\n\tbind_selection_handlers(\"ready\", [\"start\"], function() {\n\t\tsetTimeout(function() {\n\t\t\tjQuery(\"#select-ready-start\").removeClass(\"selected not-selected\");\n\t\t}, 250);<\/p>\n<p>\t\tvar version = \"0.2.2-alpha\";<\/p>\n<p>\t\tvar filename, dl_url;\n\t\tif (selections[\"os_release\"] == \"linux-appimage-x86_64\") {\n\t\t\t\/\/filename = \"colobot-gold-\"+version+\"-linux\";\n\t\t\t\/\/dl_url = \"https:\/\/github.com\/colobot\/colobot\/blob\/master\/README.md#download-packages\";\n\t\t\tfilename = \"Colobot-\"+version+\"-x86_64.AppImage\";\n\t\t\tdl_url = \"https:\/\/colobot.info\/files\/releases\/\"+version+\"\/\"+filename;\n\t\t} else {\n\t\t\tvar ext = \"zip\";\n\t\t\t\/\/if (selections[\"os_release\"].indexOf(\"win-installer\") !== -1) ext = \"exe\";\n\t\t\t\/\/if (selections[\"os_release\"].indexOf(\"linux\") !== -1) ext = \"tar.gz\";\n\t\t\tif (selections[\"os_release\"] == \"mac\") { ext = \"dmg\"; }<\/p>\n<p>\t\t\tfilename = \"colobot-gold-\"+version+\"-\"+selections[\"os_release\"]+\".\"+ext;\n\t\t\tdl_url = \"https:\/\/colobot.info\/files\/releases\/\"+version+\"\/\"+filename;\n\t\t}\n\t\tga('send', 'event', 'download', filename);\n\t\t\/\/window.location = dl_url;\n    \tvar link = document.createElement('a');\n    \tlink.href = dl_url;\n    \tlink.download = filename;\n\t\tlink.type = \"octet-stream\";\n    \tlink.dispatchEvent(new MouseEvent('click'));\n\t});\n<\/script><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"cybocfi_hide_featured_image":"","footnotes":""},"class_list":["post-121","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/colobot.info\/pl\/wp-json\/wp\/v2\/pages\/121","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/colobot.info\/pl\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/colobot.info\/pl\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/colobot.info\/pl\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/colobot.info\/pl\/wp-json\/wp\/v2\/comments?post=121"}],"version-history":[{"count":4,"href":"https:\/\/colobot.info\/pl\/wp-json\/wp\/v2\/pages\/121\/revisions"}],"predecessor-version":[{"id":822,"href":"https:\/\/colobot.info\/pl\/wp-json\/wp\/v2\/pages\/121\/revisions\/822"}],"wp:attachment":[{"href":"https:\/\/colobot.info\/pl\/wp-json\/wp\/v2\/media?parent=121"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}