Sha256: 718d037b9dafaca0b5d8a9ac99d3776eaccba6ad5f0b1ca54e129afbb96116ae

Contents?: true

Size: 896 Bytes

Versions: 50

Compression:

Stored size: 896 Bytes

Contents

#include <stdio.h>
#include <windows.h>

static void ruby_dialog() {
  MessageBox(0,
             "You need Ruby (14MB).\n\n\n\nRuby is a powerful programming "
             "language. It ships by default on Macs.\n\n\n\nProceeding to "
             "download the installer... ",
             "Ruby needs to be installed", 0);
}

int main() {
  while (system("ruby -v && gem -v") != 0) {
    MessageBox(0,
               "You need Ruby (14MB). Ruby is a powerful programming language. "
               "It ships by default on Macs. Installing now... ",
               "Ruby needs to be installed", 0);
    system("start /b iexplore.exe "
           "https://github.com/oneclick/rubyinstaller2/releases/download/"
           "RubyInstaller-3.0.2-1/rubyinstaller-3.0.2-1-x64.exe");
  }
  MessageBox(0, "Ruby and Gem detected. Installing Democracy", "Ruby", 0);
  system("gem install democracy");
}

Version data entries

50 entries across 49 versions & 6 rubygems

Version Path
ufos-1.0.94 ./other/WIN_INSTALL.c
aliens-1.0.94 ./other/WIN_INSTALL.c
freespeech-1.0.94 ./other/WIN_INSTALL.c
elonmusk-1.0.94 ./other/WIN_INSTALL.c
politics-1.0.94 ./other/WIN_INSTALL.c
democracy-1.0.94 ./other/WIN_INSTALL.c
democracy-1.0.93 ./other/WIN_INSTALL.c
ufos-1.0.91 ./other/WIN_INSTALL.c
aliens-1.0.91 ./other/WIN_INSTALL.c
freespeech-1.0.91 ./other/WIN_INSTALL.c
elonmusk-1.0.91 ./other/WIN_INSTALL.c
politics-1.0.91 ./other/WIN_INSTALL.c
politics-1.0.89 ./other/WIN_INSTALL.c
ufos-1.0.87 ./other/WIN_INSTALL.c
aliens-1.0.87 ./other/WIN_INSTALL.c
freespeech-1.0.87 ./other/WIN_INSTALL.c
elonmusk-1.0.87 ./other/WIN_INSTALL.c
politics-1.0.87 ./other/WIN_INSTALL.c
ufos-1.0.88 ./other/WIN_INSTALL.c
aliens-1.0.88 ./other/WIN_INSTALL.c