Sha256: f17a3619e6178a9982a9e676405722922f718c5601ad6e7eb783a276693b6c24
Contents?: true
Size: 617 Bytes
Versions: 6
Compression:
Stored size: 617 Bytes
Contents
class CreateDesktopAppConsole def self.up app = DesktopApplication.create( :description => 'Compass Console', :icon => 'icon-console', :javascript_class_name => 'Compass.ErpApp.Desktop.Applications.CompassAeConsole', :internal_identifier => 'compass_ae_console', :shortcut_id => 'compass_console-win' ) app.preference_types << PreferenceType.iid('desktop_shortcut') app.preference_types << PreferenceType.iid('autoload_application') app.save end def self.down DesktopApplication.destroy_all(['internal_identifier = ?','compass_ae_console']) end end
Version data entries
6 entries across 6 versions & 1 rubygems